2023-10-10 21:22:33 +02:00
|
|
|
/*
|
|
|
|
============================================================
|
|
|
|
This is the "NarrenkarteTest" file from Author: Philipp Kotte
|
|
|
|
written on: 10 / 10 / 2023 at: 21:18
|
|
|
|
============================================================
|
|
|
|
*/
|
|
|
|
package Test.Domain.Karten;
|
|
|
|
|
2023-10-11 18:44:58 +02:00
|
|
|
import static org.junit.Assert.assertEquals;
|
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
import Domain.Karten.Narrenkarte;
|
|
|
|
|
2023-10-10 21:22:33 +02:00
|
|
|
public class NarrenkarteTest {
|
|
|
|
|
2023-10-11 18:44:58 +02:00
|
|
|
@Test
|
|
|
|
public void vierNarren() {
|
2023-10-23 10:33:50 +02:00
|
|
|
Narrenkarte n1 = new Narrenkarte();
|
|
|
|
Narrenkarte n2 = new Narrenkarte();
|
|
|
|
Narrenkarte n3 = new Narrenkarte();
|
|
|
|
Narrenkarte n4 = new Narrenkarte();
|
2023-10-25 12:29:58 +02:00
|
|
|
|
2023-10-11 18:44:58 +02:00
|
|
|
assertEquals(n1.getBezeichnung(), "Narr");
|
|
|
|
assertEquals(n2.getBezeichnung(), "Narr");
|
|
|
|
assertEquals(n3.getBezeichnung(), "Narr");
|
|
|
|
assertEquals(n4.getBezeichnung(), "Narr");
|
2023-10-25 12:29:58 +02:00
|
|
|
|
2023-10-11 18:44:58 +02:00
|
|
|
}
|
2023-10-10 21:22:33 +02:00
|
|
|
}
|