From 3aef8c1c158cb4e94a7d24fd7a04a6f0e8d8bb89 Mon Sep 17 00:00:00 2001 From: INNA Date: Fri, 9 Feb 2024 20:10:27 +0100 Subject: [PATCH] =?UTF-8?q?TEST=20hinzuf=C3=BCgen=20des=20Tests=20f=C3=BCr?= =?UTF-8?q?=20double=20kleiner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/test_kleiner_groessergleich.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/test_kleiner_groessergleich.c b/test/test_kleiner_groessergleich.c index e275ce9..94fb502 100644 --- a/test/test_kleiner_groessergleich.c +++ b/test/test_kleiner_groessergleich.c @@ -53,4 +53,13 @@ void test_groesser_d(void) TEST_ASSERT_EQUAL_DOUBLE(expected, result); } +//Test 5 +void test_kleiner_d(void) +{ + int result, expected = 1.0; + + result = vergleicheZahlen_d(1.0,2.0); + + TEST_ASSERT_EQUAL_DOUBLE(expected, result); +} #endif //TEST \ No newline at end of file