18 lines
355 B
18 lines
355 B
#include "unity.h"
|
|
#include "../src/arithmeticMultiplication_Float.h"
|
|
#include "limits.h"
|
|
|
|
void setUp(void) {
|
|
|
|
}
|
|
|
|
void tearDown(void) {
|
|
|
|
}
|
|
|
|
void test_arithmeticMultiplication_floattimesfloatequalsfloat(void) {
|
|
float expectedResult = 10.0f;
|
|
float* result = multiplication_float(2.0f, 5.0f);
|
|
TEST_ASSERT_EQUAL_FLOAT(expectedResult, *result);
|
|
|
|
}
|