diff --git a/src/test/java/src/TasksFrameTest.java b/src/test/java/src/TasksFrameTest.java index 4af998f..ff2a433 100644 --- a/src/test/java/src/TasksFrameTest.java +++ b/src/test/java/src/TasksFrameTest.java @@ -147,6 +147,17 @@ class TasksFrameTest { int c = tasksFrame.round10(12); 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); + } }