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

11 months ago
11 months ago
11 months ago
  1. #include "unity.h"
  2. #include "../src/arithmeticMultiplication_Float.h"
  3. #include "limits.h"
  4. void setUp(void) {
  5. }
  6. void tearDown(void) {
  7. }
  8. void test_arithmeticMultiplication_floattimesfloatequalsfloat(void) {
  9. float expectedResult = 10.0f;
  10. float* result = multiplication_float(2.0f, 5.0f);
  11. TEST_ASSERT_EQUAL_FLOAT(expectedResult, *result);
  12. }