From 5f35b8a75115ea220d6605672f47909cfb4f1b1a Mon Sep 17 00:00:00 2001 From: fdai7446 <––fdai7446@fhfddvz1.rz.hs-fulda.de> Date: Fri, 10 Feb 2023 21:19:59 +0100 Subject: [PATCH] testMultiplikation --- TaschenrechnerTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TaschenrechnerTest.java b/TaschenrechnerTest.java index e50976f..0b4da23 100644 --- a/TaschenrechnerTest.java +++ b/TaschenrechnerTest.java @@ -18,7 +18,12 @@ public class TaschenrechnerTest { @Test public void testMultiplikation() { + int a = 6; + int b = 6; + int ab = a * b; + int result = Taschenrechner.multiplikation(a, b); + assertEquals(ab, result); } @Test