|
@ -40,7 +40,9 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex1(void){ |
|
|
|
|
|
|
|
|
testfall; |
|
|
testfall; |
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
char* TESTantworten[]= {"The End", "The Termination", "Pizza's ready", "Hotdog Time"}; |
|
|
|
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTantworten, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -48,7 +50,7 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex1(void){ |
|
|
|
|
|
|
|
|
1 |
|
|
1 |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(25)));}} while(0); |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(26)));}} while(0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -68,7 +70,9 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex2(void){ |
|
|
|
|
|
|
|
|
testfall; |
|
|
testfall; |
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
char* TESTantworten[]= {"The End", "The Termination", "Pizza's ready", "Hotdog Time"}; |
|
|
|
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTantworten, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -76,7 +80,7 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex2(void){ |
|
|
|
|
|
|
|
|
1 |
|
|
1 |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(35)));}} while(0); |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(37)));}} while(0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -96,7 +100,9 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void){ |
|
|
|
|
|
|
|
|
testfall; |
|
|
testfall; |
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
char* TESTantworten[]= {"The End", "The Termination", "Pizza's ready", "Hotdog Time"}; |
|
|
|
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTantworten, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -104,7 +110,7 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void){ |
|
|
|
|
|
|
|
|
1 |
|
|
1 |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(45)));}} while(0); |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(48)));}} while(0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -122,7 +128,9 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void){ |
|
|
|
|
|
|
|
|
testfall; |
|
|
testfall; |
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
char* TESTantworten[]= {"The End", "The Termination", "Pizza's ready", "Hotdog Time"}; |
|
|
|
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTantworten, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -130,7 +138,7 @@ void test_FcheckaufRichtigkeit_correct_answer_atIndex3(void){ |
|
|
|
|
|
|
|
|
1 |
|
|
1 |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(54)));}} while(0); |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(58)));}} while(0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -150,13 +158,15 @@ void test_FcheckaufRichtigkeit_incorrect_input_higher(void){ |
|
|
|
|
|
|
|
|
testfall; |
|
|
testfall; |
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
char* TESTantworten[]= {"The End", "The Termination", "Pizza's ready", "Hotdog Time"}; |
|
|
|
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTantworten, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
do {if ((testfall != |
|
|
do {if ((testfall != |
|
|
|
|
|
|
|
|
1 |
|
|
1 |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(63)));}} while(0); |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(68)));}} while(0); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -174,13 +184,15 @@ void test_FcheckaufRichtigkeit_incorrect_input_lower(void){ |
|
|
|
|
|
|
|
|
testfall; |
|
|
testfall; |
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
char* TESTantworten[]= {"The End", "The Termination", "Pizza's ready", "Hotdog Time"}; |
|
|
|
|
|
|
|
|
|
|
|
testfall = fcheckaufRichtigkeit(TESTeingabe, TESTantworten, TESTrichtige_antwort, TESTindex); |
|
|
|
|
|
|
|
|
do {if ((testfall != |
|
|
do {if ((testfall != |
|
|
|
|
|
|
|
|
1 |
|
|
1 |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(71)));}} while(0); |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(77)));}} while(0); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -212,13 +224,13 @@ void test_FzaehlernachAuswahl(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(81), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(87), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((answered)), ( |
|
|
UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((answered)), ( |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(82), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(88), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -252,13 +264,13 @@ void test_FzaehlernachAuswahl_bei1(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(93), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(99), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((answered)), ( |
|
|
UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((answered)), ( |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(94), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(100), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -292,13 +304,13 @@ void test_FzaehlernachAuswahl_falsch_bei_0(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(105), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(111), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((answered)), ( |
|
|
UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((answered)), ( |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(106), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(112), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -332,13 +344,13 @@ void test_FzaehlernachAuswahl_falsch_bei_1(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(117), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(123), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((answered)), ( |
|
|
UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((answered)), ( |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(118), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(124), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -374,7 +386,7 @@ do {if ((testbool == |
|
|
|
|
|
|
|
|
0 |
|
|
0 |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(126)));}} while(0); |
|
|
|
|
|
|
|
|
)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(132)));}} while(0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|