forked from 2211945/WIZARD_PR2_DOP
30 lines
767 B
Java
30 lines
767 B
Java
/*
|
|
============================================================
|
|
This is the "NarrenkarteTest" file from Author: Philipp Kotte
|
|
written on: 10 / 10 / 2023 at: 21:18
|
|
============================================================
|
|
*/
|
|
package Test.Domain.Karten;
|
|
|
|
import static org.junit.Assert.assertEquals;
|
|
import org.junit.Test;
|
|
|
|
import Domain.Karten.Narrenkarte;
|
|
|
|
public class NarrenkarteTest {
|
|
|
|
@Test
|
|
public void vierNarren() {
|
|
Narrenkarte n1 = new Narrenkarte();
|
|
Narrenkarte n2 = new Narrenkarte();
|
|
Narrenkarte n3 = new Narrenkarte();
|
|
Narrenkarte n4 = new Narrenkarte();
|
|
|
|
assertEquals(n1.getBezeichnung(), "Narr");
|
|
assertEquals(n2.getBezeichnung(), "Narr");
|
|
assertEquals(n3.getBezeichnung(), "Narr");
|
|
assertEquals(n4.getBezeichnung(), "Narr");
|
|
|
|
}
|
|
}
|