From 6c2bdb5bece6dac7f9fa7073b1ed8278db1f4721 Mon Sep 17 00:00:00 2001 From: jannisfingerhut Date: Fri, 10 Feb 2023 01:59:46 +0100 Subject: [PATCH] =?UTF-8?q?Test=20Addition=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/ProgrammMain.java | 3 ++- LernProgramm/testProgramm.java | 10 ++++++++++ bin/LernProgramm/ProgrammMain.class | Bin 6089 -> 6175 bytes bin/LernProgramm/testProgramm.class | Bin 1892 -> 2039 bytes 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/LernProgramm/ProgrammMain.java b/LernProgramm/ProgrammMain.java index 9ae180d..c5344ac 100644 --- a/LernProgramm/ProgrammMain.java +++ b/LernProgramm/ProgrammMain.java @@ -16,7 +16,8 @@ public class ProgrammMain { String[][] karteikarten = { { "Was ist die Hauptstadt von Deutschland?", "Berlin" }, { "Welches ist der größtes Planet in unserem Sonnensystem?", "Jupiter" }, { "Wer hat die Mona Lisa gemalt?", "Leonardo da Vinci" }, - + {"Wer ist der Bundeskanzler von Deutschland?", "Olaf Scholz"}, + // Sonstige Fragen }; diff --git a/LernProgramm/testProgramm.java b/LernProgramm/testProgramm.java index 8631d37..8617824 100644 --- a/LernProgramm/testProgramm.java +++ b/LernProgramm/testProgramm.java @@ -9,6 +9,7 @@ import java.io.PrintStream; import org.junit.jupiter.api.Test; + class testProgramm { @Test @@ -59,4 +60,13 @@ class testProgramm { assertEquals(0, result); } + @Test + public void testAddition1() { + + double result = 2 + 3; + + + assertEquals(5.0, result, 0); + } + } diff --git a/bin/LernProgramm/ProgrammMain.class b/bin/LernProgramm/ProgrammMain.class index 0327529465ec9ef8b44af4e5a753c9be4ecc0ca4..3f8a0030ef23ac446d6915658e335081a7ca97ca 100644 GIT binary patch delta 3444 zcma)83wV>&8GcXl-;(|%ZJ?CYRzt;(ruPCBO1ZQYq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jo YW$*J%P&@fa<74|NmK1C~7D{CP8(@>s@&Et; diff --git a/bin/LernProgramm/testProgramm.class b/bin/LernProgramm/testProgramm.class index 2f70569ec73d08c65a499bb491cc0ea87c5f224f..134da32cba31016c30df874000fe1904396e4663 100644 GIT binary patch delta 305 zcmW;HPcOtk7zXfX+G$tWcFn3vLsCt!Dz&l^98mvCR)qC0t`1h%3kUreE;XNIZ{i@% zK81tCN7$QqVv@<^`MvK<-udmZA(F-uAk+N3NVBTj3GpTNko`> zv96tn4^2ZM*7w$(nqiuSi#d#=!Nx>?S%pfei_|7{iQ1y3y0kNAg_Tv*u%@$0qz9CB z$_8bV66@IVFArhEN&iFP5hUW zbAIRReG2~jcY6Rxu(e?t&}pi#{bz=>7#I$%ICFFoYw1Hk(Ov9S00$)$QRb{5M3rK> zb8EzFlWjp$`1?u4HyJk025ht#zbch0h4 LS+X=FU}EzJpFkZD