@ -178,9 +178,9 @@ void testSucheBuchstabe_existiert(void) {
char wort1[] = "Programming";
int index1 = sucheBuchstabe(wort1, 'g');
int position = sucheBuchstabe(wort1, 'g');
UnityAssertEqualNumber((UNITY_INT)((3)), (UNITY_INT)((index1)), (
UnityAssertEqualNumber((UNITY_INT)((3)), (UNITY_INT)((position)), (
((void *)0)
@ -19,4 +19,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.04560680000031425
:time: 0.04479449999962526
@ -51,4 +51,4 @@
:time: 0.856331400000272
:time: 0.041727399999217596
@ -23,4 +23,4 @@
:time: 0.04383059999963734
:time: 0.04086199999983364
@ -83,4 +83,4 @@
:time: 0.04288310000083584
:time: 0.04104339999867079
@ -15,4 +15,4 @@
:time: 0.042165499999100575
:time: 0.04154709999966144
@ -76,6 +76,12 @@ void testSucheBuchstabe_existiert(void) {
}
void testSucheBuchstabe_existiertnicht(void) {
char wort2[] = "Testing";
int position = sucheBuchstabe(wort2, 'z');
TEST_ASSERT_EQUAL_INT(-1, position);
#endif // TEST