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

11 months ago
  1. #include "unity.h"
  2. #include "../src/arithmeticMultiplication_Float.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_floattimesfloatequalsfloat(void) {
  11. float expectedResult = 10.0f;
  12. float* result = multiplication_float(2.0f, 5.0f);
  13. TEST_ASSERT_EQUAL_FLOAT(expectedResult, *result);
  14. }