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
396 B
18 lines
396 B
#include "../src/logarithmicFunctions.h"
|
|
#include "unity.h"
|
|
#include "limits.h"
|
|
|
|
void setUp(void) {
|
|
// set stuff up here
|
|
}
|
|
|
|
void tearDown(void) {
|
|
// clean stuff up here
|
|
}
|
|
|
|
void test_logarithmicFunctions_logarithmiccalculation(void){
|
|
double expectedResult = 3.000000;
|
|
double* result;
|
|
result = logarithm_two_integer(2,8);
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, *result);
|
|
}
|