Browse Source

testDivision

remotes/origin/H.F.F/Taschenrechner
fdai7446 2 years ago
parent
commit
216edb0c13
  1. 5
      TaschenrechnerTest.java

5
TaschenrechnerTest.java

@ -28,7 +28,12 @@ public class TaschenrechnerTest {
@Test @Test
public void testDivision() { public void testDivision() {
int a = 14;
int b = 7;
int ab = a / b;
int result = Taschenrechner.division(a, b);
assertEquals(ab, result);
} }
@Test @Test

Loading…
Cancel
Save