From ebca0aa551e1f78e22de81f59b3505dcaf806c86 Mon Sep 17 00:00:00 2001 From: jannisfingerhut Date: Fri, 10 Feb 2023 02:05:17 +0100 Subject: [PATCH] =?UTF-8?q?Test=20Divi=20=20f=C3=BCr=20Taschenrechner=20?= =?UTF-8?q?=20erstellt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LernProgramm/testProgramm.java | 5 +++++ bin/LernProgramm/testProgramm.class | Bin 2296 -> 2407 bytes 2 files changed, 5 insertions(+) diff --git a/LernProgramm/testProgramm.java b/LernProgramm/testProgramm.java index 8ed938f..f37244a 100644 --- a/LernProgramm/testProgramm.java +++ b/LernProgramm/testProgramm.java @@ -80,4 +80,9 @@ class testProgramm { double result = 5*3.5; assertEquals(17.5, result, 0); } + @Test + public void testDivision1() { + double result = 15/10; + assertEquals(1, result, 0); + } } diff --git a/bin/LernProgramm/testProgramm.class b/bin/LernProgramm/testProgramm.class index fb9368015d1eac6e7c9e1da0c1d462dc59b1194a..4c5243238204ba33c320d376f73d36937bec9a1b 100644 GIT binary patch delta 123 zcmew%_*_Wf)W2Q(7#JAr7^2u2m>3x(Cr*^ysHx4u$6JzGT;h^hmRX#cpJzBZh((8y zXLCJE3CrYzEFwIv3~UU{Ky94-9{iI7IYjkC8JHNt7&sWh8MuMMVn7~Hl7WYT7f3TP RuroL_1TZiHVFZ{T2>@DF7J2{x delta 45 zcmaDZ^g~eK)W2Q(7#JAr7$Vsjm>3x(Cr*^ysHx2|IfX@wk$ZDLO9=}r0|OI71OP== B3!eZ0