Browse Source

Update test_calculator.c

remotes/origin/develop
fdai7801 11 months ago
parent
commit
40c8f7ff8f
  1. 10
      src/test/c/test_calculator.c

10
src/test/c/test_calculator.c

@ -229,4 +229,14 @@ void test_additionbin(void) {
// Assert // Assert
TEST_ASSERT_EQUAL_INT64(10, result); 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);
}
Loading…
Cancel
Save