diff --git a/LernProgramm/ProgrammMain.java b/LernProgramm/ProgrammMain.java index c5344ac..3010513 100644 --- a/LernProgramm/ProgrammMain.java +++ b/LernProgramm/ProgrammMain.java @@ -65,6 +65,7 @@ public class ProgrammMain { } else { System.out.println("Falsch!"); } + } } diff --git a/LernProgramm/testProgramm.java b/LernProgramm/testProgramm.java index 2e48e56..8ed938f 100644 --- a/LernProgramm/testProgramm.java +++ b/LernProgramm/testProgramm.java @@ -75,4 +75,9 @@ class testProgramm { double result = 5-3.5; assertEquals(1.5, result, 0); } + @Test + public void testMultiplication1() { + double result = 5*3.5; + assertEquals(17.5, result, 0); + } } diff --git a/bin/LernProgramm/ProgrammMain.class b/bin/LernProgramm/ProgrammMain.class index 3f8a003..aead564 100644 Binary files a/bin/LernProgramm/ProgrammMain.class and b/bin/LernProgramm/ProgrammMain.class differ diff --git a/bin/LernProgramm/testProgramm.class b/bin/LernProgramm/testProgramm.class index 0203fd8..fb93680 100644 Binary files a/bin/LernProgramm/testProgramm.class and b/bin/LernProgramm/testProgramm.class differ