|
|
@ -249,6 +249,17 @@ class TasksFrameTest { |
|
|
|
double c = tasksFrame.kreisUmfang(0); |
|
|
|
assertEquals(0, c); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void test_reverse(){ |
|
|
|
TasksFrame tasksFrame = new TasksFrame(); |
|
|
|
String text1 = tasksFrame.reverse("dania"); |
|
|
|
assertEquals("ainad", text1); |
|
|
|
String text2 = tasksFrame.reverse("commit"); |
|
|
|
assertEquals("timmoc", text2); |
|
|
|
String text3 = tasksFrame.reverse("morgen"); |
|
|
|
assertEquals("negrom", text3); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|