diff --git a/build/test/cache/test_casualQuiz.c b/build/test/cache/test_casualQuiz.c index 321d437..11ba3af 100644 --- a/build/test/cache/test_casualQuiz.c +++ b/build/test/cache/test_casualQuiz.c @@ -108,4 +108,30 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void){ +}void test_FcheckaufRichtigkeit_correct_answer_atIndex4(void){ + + int TESTeingabe = 4; + + int TESTindex = 0; + + int TESTrichtige_antwort[]={4}; + + + + _Bool + + testfall; + + testfall = FcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); + + + + do {if ((testfall == + + 1 + + )) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(54)));}} while(0); + + + } diff --git a/build/test/out/c/test_casualQuiz.o b/build/test/out/c/test_casualQuiz.o index 21cfad8..24bcba5 100644 Binary files a/build/test/out/c/test_casualQuiz.o and b/build/test/out/c/test_casualQuiz.o differ diff --git a/build/test/out/c/test_casualQuiz_runner.o b/build/test/out/c/test_casualQuiz_runner.o index 76a4979..65b6835 100644 Binary files a/build/test/out/c/test_casualQuiz_runner.o and b/build/test/out/c/test_casualQuiz_runner.o differ diff --git a/build/test/out/test_casualQuiz.out b/build/test/out/test_casualQuiz.out index 5af5fe3..38c7ef7 100755 Binary files a/build/test/out/test_casualQuiz.out and b/build/test/out/test_casualQuiz.out differ diff --git a/build/test/preprocess/files/test_casualQuiz.c b/build/test/preprocess/files/test_casualQuiz.c index 321d437..11ba3af 100644 --- a/build/test/preprocess/files/test_casualQuiz.c +++ b/build/test/preprocess/files/test_casualQuiz.c @@ -108,4 +108,30 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void){ +}void test_FcheckaufRichtigkeit_correct_answer_atIndex4(void){ + + int TESTeingabe = 4; + + int TESTindex = 0; + + int TESTrichtige_antwort[]={4}; + + + + _Bool + + testfall; + + testfall = FcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); + + + + do {if ((testfall == + + 1 + + )) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(54)));}} while(0); + + + } diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 08e80bf..afee640 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -15,11 +15,15 @@ :line: 38 :message: '' :unity_test_time: 0 +- :test: test_FcheckaufRichtigkeit_correct_answer_atIndex4 + :line: 47 + :message: '' + :unity_test_time: 0 :failures: [] :ignores: [] :counts: - :total: 3 - :passed: 3 + :total: 4 + :passed: 4 :failed: 0 :ignored: 0 :stdout: @@ -29,4 +33,6 @@ - Right Answer, well done. - Case 3 - Right Answer, well done. -:time: 0.033677700004773214 +- Case 4 +- Right Answer, well done. +:time: 0.03753680002409965 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 6c7c301..97bbe86 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.013405699981376529 +:time: 0.014495200011879206 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 6008229..f8ff8d1 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.013762899994617328 +:time: 0.014681000000564381 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 8d12bee..9e25939 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.02108940001926385 +:time: 0.014845400000922382 diff --git a/build/test/runners/test_casualQuiz_runner.c b/build/test/runners/test_casualQuiz_runner.c index 08aeef0..c86592b 100644 --- a/build/test/runners/test_casualQuiz_runner.c +++ b/build/test/runners/test_casualQuiz_runner.c @@ -13,6 +13,7 @@ extern void tearDown(void); extern void test_FcheckaufRichtigkeit_correct_answer_atIndex1(void); extern void test_FcheckaufRichtigkeit_correct_answer_atIndex2(void); extern void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void); +extern void test_FcheckaufRichtigkeit_correct_answer_atIndex4(void); /*=======Mock Management=====*/ @@ -80,6 +81,7 @@ int main(void) run_test(test_FcheckaufRichtigkeit_correct_answer_atIndex1, "test_FcheckaufRichtigkeit_correct_answer_atIndex1", 18); run_test(test_FcheckaufRichtigkeit_correct_answer_atIndex2, "test_FcheckaufRichtigkeit_correct_answer_atIndex2", 28); run_test(test_FcheckaufRichtigkeit_correct_answer_atIndex3, "test_FcheckaufRichtigkeit_correct_answer_atIndex3", 38); + run_test(test_FcheckaufRichtigkeit_correct_answer_atIndex4, "test_FcheckaufRichtigkeit_correct_answer_atIndex4", 47); return UnityEnd(); } diff --git a/test/test_casualQuiz.c b/test/test_casualQuiz.c index 68aedac..6e80ffa 100644 --- a/test/test_casualQuiz.c +++ b/test/test_casualQuiz.c @@ -44,5 +44,14 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void){ TEST_ASSERT_TRUE(testfall == true); +}void test_FcheckaufRichtigkeit_correct_answer_atIndex4(void){ + int TESTeingabe = 4; + int TESTindex = 0; + int TESTrichtige_antwort[]={4}; + bool testfall; + testfall = FcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); + + TEST_ASSERT_TRUE(testfall == true); + } #endif //Test \ No newline at end of file