From a05e9cc424bab31abddebde89926aeb1106745cf Mon Sep 17 00:00:00 2001 From: INNA Date: Fri, 9 Feb 2024 20:06:22 +0100 Subject: [PATCH] =?UTF-8?q?TEST=20hinzuf=C3=BCgen=20des=20Tests=20f=C3=BCr?= =?UTF-8?q?=20int=20Groesser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/test_kleiner_groessergleich.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test_kleiner_groessergleich.c b/test/test_kleiner_groessergleich.c index f3e2e3f..62e12fd 100644 --- a/test/test_kleiner_groessergleich.c +++ b/test/test_kleiner_groessergleich.c @@ -33,4 +33,14 @@ void test_kleiner(void) TEST_ASSERT_EQUAL_INT(expected, result); } +//Test 3 +void test_groesser(void) +{ + int result, expected = 2; + + result = vergleicheZahlen_int(2,1); + + TEST_ASSERT_EQUAL_INT(expected, result); +} + #endif //TEST \ No newline at end of file