From 70f3def14aa730482ba24bd2bd54fe3fcf10a29a Mon Sep 17 00:00:00 2001 From: INNA Date: Fri, 9 Feb 2024 20:11:40 +0100 Subject: [PATCH] =?UTF-8?q?TEST=20hinzuf=C3=BCgen=20des=20Tests=20f=C3=BCr?= =?UTF-8?q?=20double=20Gleich?= 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 94fb502..ff96df6 100644 --- a/test/test_kleiner_groessergleich.c +++ b/test/test_kleiner_groessergleich.c @@ -62,4 +62,14 @@ void test_kleiner_d(void) TEST_ASSERT_EQUAL_DOUBLE(expected, result); } + +//Test 6 +void test_gleich_d(void) +{ + int result, expected = 3.0; + + result = vergleicheZahlen_d(1.0,1.0); + + TEST_ASSERT_EQUAL_DOUBLE(expected, result); +} #endif //TEST \ No newline at end of file