@ -32,7 +32,7 @@ void testLoescheBuchstaben_Buchstabeexistiert(void) {
loescheBuchstaben(wort1, 'i');
UnityAssertEqualString((const char*)(("Bebspel")), (const char*)((wort1)), (
UnityAssertEqualString((const char*)(("Bespel")), (const char*)((wort1)), (
((void *)0)
@ -19,4 +19,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.8377281999992192
:time: 0.04440909999993892
@ -2,17 +2,17 @@
:source:
:path: test
:file: test_WortSpiel.c
:successes: []
:failures:
:successes:
- :test: testLoescheBuchstaben_Buchstabeexistiert
:line: 19
:message: Expected 'Bebspel' Was 'Bespel'
:line: 15
:message: ''
:unity_test_time: 0
:failures: []
:ignores: []
:counts:
:total: 1
:passed: 0
:failed: 1
:passed: 1
:time: 0.3247099000000162
:time: 0.04108590000032564
@ -23,4 +23,4 @@
:time: 0.3112941999997929
:time: 0.040819099999680475
@ -83,4 +83,4 @@
:time: 0.3098992000004728
:time: 0.04071340000064083
@ -15,4 +15,4 @@
:time: 0.31609219999972993
:time: 0.04103339999983291
@ -19,4 +19,10 @@ void testLoescheBuchstaben_Buchstabeexistiert(void) {
TEST_ASSERT_EQUAL_STRING("Bespel", wort1);
}
void testLoescheBuchstaben_Buchstabeexistiertnicht(void) {
char wort2[] = "Test";
loescheBuchstaben(wort2, 'z');
TEST_ASSERT_EQUAL_STRING("Test", wort2);
#endif // TEST