Browse Source

Update

remotes/origin/develop
fdai7801 11 months ago
parent
commit
2d7710b07e
  1. 12
      src/test/c/test_calculator.c

12
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);
}
Loading…
Cancel
Save