From 9349c9995c44c28d62f5053a7b87e7e43f44abb5 Mon Sep 17 00:00:00 2001 From: fdai7731 Date: Thu, 8 Feb 2024 03:08:02 +0100 Subject: [PATCH] test_Mathe_minus --- src/test/c/test_Mathe.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/test/c/test_Mathe.c b/src/test/c/test_Mathe.c index 3fce345..ee30654 100644 --- a/src/test/c/test_Mathe.c +++ b/src/test/c/test_Mathe.c @@ -17,4 +17,18 @@ void test_Mathe_plus(void) TEST_ASSERT_EQUAL_INT(a,3); } + +void test_Mathe_minus(void) +{ + + int a=berechneErgebnis(1,2,'-'); + /* assert */ + TEST_ASSERT_EQUAL_INT(a,-1); +} + + + + + + #endif