From 40c8f7ff8faf3b0f3ad6285c346b14c9582dfb76 Mon Sep 17 00:00:00 2001 From: fdai7801 Date: Fri, 9 Feb 2024 22:00:24 +0000 Subject: [PATCH] Update test_calculator.c --- src/test/c/test_calculator.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/c/test_calculator.c b/src/test/c/test_calculator.c index 426ea9a..45970d5 100644 --- a/src/test/c/test_calculator.c +++ b/src/test/c/test_calculator.c @@ -229,4 +229,14 @@ void test_additionbin(void) { // Assert TEST_ASSERT_EQUAL_INT64(10, result); } +void test_multiplicationbin(void) { + // Arrange + long long int result; + + // Act + result = multiplicationbin(1,10); + + // Assert + TEST_ASSERT_EQUAL_INT64(10, result); +}