diff --git a/LernProgramm/testProgramm.java b/LernProgramm/testProgramm.java index 8617824..2e48e56 100644 --- a/LernProgramm/testProgramm.java +++ b/LernProgramm/testProgramm.java @@ -63,10 +63,16 @@ class testProgramm { @Test public void testAddition1() { - double result = 2 + 3; - - - assertEquals(5.0, result, 0); + double result = 2 + 3.5; + assertEquals(5.5, result, 0); + } + @Test + public void testSubtraction1() { + + + + + double result = 5-3.5; + assertEquals(1.5, result, 0); } - } diff --git a/bin/LernProgramm/testProgramm.class b/bin/LernProgramm/testProgramm.class index 134da32..0203fd8 100644 Binary files a/bin/LernProgramm/testProgramm.class and b/bin/LernProgramm/testProgramm.class differ