From 4e721f201b7e69f90a84c36e7f9e9b3abd49f04c Mon Sep 17 00:00:00 2001 From: fdai7446 <––fdai7446@fhfddvz1.rz.hs-fulda.de> Date: Fri, 10 Feb 2023 21:22:48 +0100 Subject: [PATCH] testGleich --- TaschenrechnerTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TaschenrechnerTest.java b/TaschenrechnerTest.java index 1ee0b43..8ef5acc 100644 --- a/TaschenrechnerTest.java +++ b/TaschenrechnerTest.java @@ -68,7 +68,12 @@ public class TaschenrechnerTest { @Test public void testGleich() { + int a = 5; + int b = 5; + boolean ab = a==b; + boolean result = Taschenrechner.gleich(a, b); + assertEquals(ab, result); } @Test