WIZARD_PR2_DOP/Test/Domain/Karten/NarrenkarteTest.java

30 lines
767 B
Java
Raw Normal View History

/*
============================================================
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;
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
}
}