You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
360 B

11 months ago
11 months ago
11 months ago
  1. #include "unity.h"
  2. #include "../src/arithmeticMultiplication_Double.h"
  3. #include "limits.h"
  4. void setUp(void) {
  5. }
  6. void tearDown(void) {
  7. }
  8. void test_arithmeticMultiplication_doubletimesdoubleequalsdouble(void) {
  9. double expectedResult = 10.0;
  10. double* result = multiplication_double(2.0, 5.0);
  11. TEST_ASSERT_EQUAL_DOUBLE(expectedResult, *result);
  12. }