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
18 lines
408 B
#include "unity.h"
|
|
#include "../src/arithmeticMultiplication_Double.h"
|
|
#include "limits.h"
|
|
|
|
void setUp(void) {
|
|
// set up code here
|
|
}
|
|
|
|
void tearDown(void) {
|
|
// clean up code here
|
|
}
|
|
|
|
void test_arithmeticMultiplication_doubletimesdoubleequalsdouble(void) {
|
|
double expectedResult = 10.0;
|
|
double* result = multiplication_double(2.0, 5.0);
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, *result);
|
|
|
|
}
|