|
@ -147,6 +147,17 @@ class TasksFrameTest { |
|
|
int c = tasksFrame.round10(12); |
|
|
int c = tasksFrame.round10(12); |
|
|
assertEquals(10, c); |
|
|
assertEquals(10, c); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
void test_umrechnen(){ |
|
|
|
|
|
TasksFrame tasksFrame = new TasksFrame(); |
|
|
|
|
|
int a = Integer.parseInt(tasksFrame.umrechnen(15)); |
|
|
|
|
|
assertEquals(1111, a); |
|
|
|
|
|
int b = Integer.parseInt(tasksFrame.umrechnen(20)); |
|
|
|
|
|
assertEquals(10100, b); |
|
|
|
|
|
int c = Integer.parseInt(tasksFrame.umrechnen(48)); |
|
|
|
|
|
assertEquals(110000, c); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|