@ -58,5 +58,16 @@ class runGameTest {
}
@Test
public void testSplitAnswers() {
String[] StringToSplit = {"Das,ist,ein,Test", "1,2,3,4"};
String[] parts = runGame.SplitAnswers(StringToSplit, 1);
assertEquals(4, parts.length);
assertEquals("1", parts[0]);
assertEquals("2", parts[1]);
assertEquals("3", parts[2]);
assertEquals("4", parts[3]);