From fe3f8038b4a1de6ea567e532355f183559f20420 Mon Sep 17 00:00:00 2001 From: jannisfingerhut Date: Fri, 10 Feb 2023 06:11:00 +0100 Subject: [PATCH] =?UTF-8?q?Test=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/LernProgramm/testProgramm.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bin/LernProgramm/testProgramm.java b/bin/LernProgramm/testProgramm.java index 592c489..fa5a2f0 100644 --- a/bin/LernProgramm/testProgramm.java +++ b/bin/LernProgramm/testProgramm.java @@ -126,4 +126,16 @@ class testProgramm { assertEquals("Welches Jahr möchtest du untersuchen?\nSchaltjahr!\n", out.toString()); } + + + @Test + public void testNumber() { + int expected = 0; + int actual = getNumber(); + assertEquals(expected, actual); + } + + private int getNumber() { + return 0; + } }