From 216edb0c13ba5700884b61a5e6b6a44904b86113 Mon Sep 17 00:00:00 2001 From: fdai7446 <––fdai7446@fhfddvz1.rz.hs-fulda.de> Date: Fri, 10 Feb 2023 21:20:34 +0100 Subject: [PATCH] testDivision --- TaschenrechnerTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TaschenrechnerTest.java b/TaschenrechnerTest.java index 0b4da23..072e30e 100644 --- a/TaschenrechnerTest.java +++ b/TaschenrechnerTest.java @@ -28,7 +28,12 @@ public class TaschenrechnerTest { @Test public void testDivision() { + int a = 14; + int b = 7; + int ab = a / b; + int result = Taschenrechner.division(a, b); + assertEquals(ab, result); } @Test