diff --git a/src/test/c/test_taschenrechner.c b/src/test/c/test_taschenrechner.c index 75a0bd3..38ccd8e 100644 --- a/src/test/c/test_taschenrechner.c +++ b/src/test/c/test_taschenrechner.c @@ -180,4 +180,16 @@ void test_performOperation_Subtraction(void) { TEST_ASSERT_EQUAL_INT(7, result); } +// Test case for multiplication +void test_performOperation_Multiplication(void) { + // Arrange + int result; + + // Act + result = performOperation(4, '*', 6); + + // Assert + TEST_ASSERT_EQUAL_INT(24, result); +} + #endif // TEST