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
408 B

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