diff --git a/src/test/c/test_calculator.c b/src/test/c/test_calculator.c index 7e029bd..ba35300 100644 --- a/src/test/c/test_calculator.c +++ b/src/test/c/test_calculator.c @@ -199,3 +199,15 @@ void test_performOperation_division_by_zero(void) { TEST_ASSERT_EQUAL_INT(0, performOperation(10, '/', 0)); } +void test_DecToBin(void) { + // Arrange + long long int result; + + // Act + result = DecToBin(8); + + // Assert + TEST_ASSERT_EQUAL_INT64(100, result); +} + +