|
@ -105,7 +105,6 @@ class testProgramm { |
|
|
assertEquals("120\n", out.toString()); |
|
|
assertEquals("120\n", out.toString()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
public void testFakultaetWithZero() { |
|
|
public void testFakultaetWithZero() { |
|
|
String input = "0\n"; |
|
|
String input = "0\n"; |
|
@ -140,17 +139,10 @@ class testProgramm { |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private int getNumber() { |
|
|
private int getNumber() { |
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
public void testTimer() { |
|
|
public void testTimer() { |
|
|
int actualTime = (int) (Math.random() * 10 + 1); |
|
|
int actualTime = (int) (Math.random() * 10 + 1); |
|
|