|
@ -10,7 +10,8 @@ char* GlobalOrderError; |
|
|
/*=======External Functions This Runner Calls=====*/ |
|
|
/*=======External Functions This Runner Calls=====*/ |
|
|
extern void setUp(void); |
|
|
extern void setUp(void); |
|
|
extern void tearDown(void); |
|
|
extern void tearDown(void); |
|
|
extern void test_adding_whole_numbers(void); |
|
|
|
|
|
|
|
|
extern void test_pow_N_N(void); |
|
|
|
|
|
extern void test_pow_Z_N(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=======Mock Management=====*/ |
|
|
/*=======Mock Management=====*/ |
|
@ -75,7 +76,8 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l |
|
|
int main(void) |
|
|
int main(void) |
|
|
{ |
|
|
{ |
|
|
UnityBegin("test_add.c"); |
|
|
UnityBegin("test_add.c"); |
|
|
run_test(test_adding_whole_numbers, "test_adding_whole_numbers", 13); |
|
|
|
|
|
|
|
|
run_test(test_pow_N_N, "test_pow_N_N", 13); |
|
|
|
|
|
run_test(test_pow_Z_N, "test_pow_Z_N", 26); |
|
|
|
|
|
|
|
|
return UnityEnd(); |
|
|
return UnityEnd(); |
|
|
} |
|
|
} |