From b29e78919027b139ce83ca23a83983a31632b992 Mon Sep 17 00:00:00 2001 From: Justin Trausch Date: Wed, 7 Feb 2024 17:10:14 +0100 Subject: [PATCH] test_divsion_1 von dem Fall 10 / 2 = 5 --- test/test_division.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test_division.c b/test/test_division.c index 3422430..330359e 100644 --- a/test/test_division.c +++ b/test/test_division.c @@ -13,4 +13,14 @@ void tearDown(void) { } +void test_division_1(void) +{ + int result, expected = 5; + + result = divisionInt(10,2); + + TEST_ASSERT_EQUAL_INT(expected, result); +} + + #endif // TEST \ No newline at end of file