diff --git a/src/test/c/test_calculator.c b/src/test/c/test_calculator.c index 2b0e3e3..370fcd4 100644 --- a/src/test/c/test_calculator.c +++ b/src/test/c/test_calculator.c @@ -219,4 +219,14 @@ void test_BinToDec(void) { // Assert TEST_ASSERT_EQUAL_INT64(8, result); } +void test_additionbin(void) { + // Arrange + long long int result; + + // Act + result = additionbin(1,1); + + // Assert + TEST_ASSERT_EQUAL_INT64(10, result); +}