|
@ -11,6 +11,7 @@ char* GlobalOrderError; |
|
|
extern void setUp(void); |
|
|
extern void setUp(void); |
|
|
extern void tearDown(void); |
|
|
extern void tearDown(void); |
|
|
extern void test_getRandomQuestionIndex(void); |
|
|
extern void test_getRandomQuestionIndex(void); |
|
|
|
|
|
extern void test_displayQuestion(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=======Mock Management=====*/ |
|
|
/*=======Mock Management=====*/ |
|
@ -76,6 +77,7 @@ int main(void) |
|
|
{ |
|
|
{ |
|
|
UnityBegin("test_timequiz.c"); |
|
|
UnityBegin("test_timequiz.c"); |
|
|
run_test(test_getRandomQuestionIndex, "test_getRandomQuestionIndex", 16); |
|
|
run_test(test_getRandomQuestionIndex, "test_getRandomQuestionIndex", 16); |
|
|
|
|
|
run_test(test_displayQuestion, "test_displayQuestion", 27); |
|
|
|
|
|
|
|
|
return UnityEnd(); |
|
|
return UnityEnd(); |
|
|
} |
|
|
} |