diff --git a/build/test/cache/test_WortSpiel.c b/build/test/cache/test_WortSpiel.c index 5d8393c..b61bb03 100644 --- a/build/test/cache/test_WortSpiel.c +++ b/build/test/cache/test_WortSpiel.c @@ -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) diff --git a/build/test/out/c/test_WortSpiel.o b/build/test/out/c/test_WortSpiel.o index 228eb2c..827813a 100644 Binary files a/build/test/out/c/test_WortSpiel.o and b/build/test/out/c/test_WortSpiel.o differ diff --git a/build/test/out/test_WortSpiel.out b/build/test/out/test_WortSpiel.out index 9783395..cbcb885 100644 Binary files a/build/test/out/test_WortSpiel.out and b/build/test/out/test_WortSpiel.out differ diff --git a/build/test/preprocess/files/test_WortSpiel.c b/build/test/preprocess/files/test_WortSpiel.c index 5d8393c..b61bb03 100644 --- a/build/test/preprocess/files/test_WortSpiel.c +++ b/build/test/preprocess/files/test_WortSpiel.c @@ -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) diff --git a/build/test/results/test_SchereSteinPapier.pass b/build/test/results/test_SchereSteinPapier.pass index b52c95e..ce23041 100644 --- a/build/test/results/test_SchereSteinPapier.pass +++ b/build/test/results/test_SchereSteinPapier.pass @@ -19,4 +19,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.8377281999992192 +:time: 0.04440909999993892 diff --git a/build/test/results/test_WortSpiel.fail b/build/test/results/test_WortSpiel.pass similarity index 57% rename from build/test/results/test_WortSpiel.fail rename to build/test/results/test_WortSpiel.pass index f7f23c6..799218f 100644 --- a/build/test/results/test_WortSpiel.fail +++ b/build/test/results/test_WortSpiel.pass @@ -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 + :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3247099000000162 +:time: 0.04108590000032564 diff --git a/build/test/results/test_ageinseconds.pass b/build/test/results/test_ageinseconds.pass index dbe5f60..dc076a8 100644 --- a/build/test/results/test_ageinseconds.pass +++ b/build/test/results/test_ageinseconds.pass @@ -23,4 +23,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3112941999997929 +:time: 0.040819099999680475 diff --git a/build/test/results/test_minirechner.pass b/build/test/results/test_minirechner.pass index bfe46de..9367718 100644 --- a/build/test/results/test_minirechner.pass +++ b/build/test/results/test_minirechner.pass @@ -83,4 +83,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.3098992000004728 +:time: 0.04071340000064083 diff --git a/build/test/results/test_zahlenraten.pass b/build/test/results/test_zahlenraten.pass index 775ab75..548397e 100644 --- a/build/test/results/test_zahlenraten.pass +++ b/build/test/results/test_zahlenraten.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.31609219999972993 +:time: 0.04103339999983291 diff --git a/test/test_WortSpiel.c b/test/test_WortSpiel.c index 3825f9f..2ef04c8 100644 --- a/test/test_WortSpiel.c +++ b/test/test_WortSpiel.c @@ -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