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

#include "../src/exponentials.h"
#include "unity.h"
#include "limits.h"
void setUp(void) {
// set stuff up here
}
void tearDown(void) {
// clean stuff up here
}
void test_exponentials_calculatenumfrombaseandexponent(void) {
double expectedResult = 32.000000;
double* result;
result = exponentials_double(2, 5);
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, *result);
}