@ -60,6 +60,19 @@ class testProgramm {
assertEquals(0, result);
}
// Taschenrechner
@Test
public void testAddition1() {
double result = 2 + 3.5;
assertEquals(5.5, result, 0);
public void testSubtraction1() {
double result = 5 - 3.5;
assertEquals(1.5, result, 0);