From 37b02088aef24e942fc15aa42ff59d025df606dd Mon Sep 17 00:00:00 2001 From: Lennart Goetze Date: Wed, 7 Feb 2024 16:46:12 +0100 Subject: [PATCH] Unittest: zaehleBuchstaben Buchstabe existiert --- build/test/out/c/WortSpiel.o | Bin 3762 -> 4407 bytes build/test/out/test_WortSpiel.out | Bin 113885 -> 114432 bytes .../test/results/test_SchereSteinPapier.pass | 2 +- build/test/results/test_WortSpiel.pass | 2 +- build/test/results/test_ageinseconds.pass | 2 +- build/test/results/test_minirechner.pass | 2 +- build/test/results/test_zahlenraten.pass | 2 +- src/WortSpiel.h | 1 + test/test_WortSpiel.c | 6 ++++++ 9 files changed, 12 insertions(+), 5 deletions(-) diff --git a/build/test/out/c/WortSpiel.o b/build/test/out/c/WortSpiel.o index e89394a5f8eb193b3b12eb1b4b1230214a82d787..9321e5cc743dad57fc6a49e23a608b1908880bd9 100644 GIT binary patch literal 4407 zcmcgvUu+b|8UJSY#&_n6*N>YUGO--h$v zX?M>tR@78QLYxo{eo0y>sq$1M4=H(Q+?I!ggovO#xk#;4rG1PP3EHX^QeD-J`+YOJ z>)qJAc62-Q&F}kte`a=eZf5#YD^U4a3qZG!B9L+P1xLuTdY=KDQUI>SWuGiGIP+p= zy66-Gysg9>oVl5qvhA&OLF~uGTL?SsLc#+z$O6bgUoKPI%`q8-Gd6-}g?Voy zehhiRg8AjL{XqoaEgb8gkvH%9qb3J!C$k3!Lc~6tmkZGlBzcGXLLl|tjRE}4^@r{y zum8yq@9)_A6Y>;%7gXdpFz%C2Nx-eQVS9&^fg&^X=JSh<|P9E6HUT%y&5Z1K`z!awWfd^$cr_ulmGKlFRI}axuTgka;x! z;FaGY$Jegh#^qVK_-Wq@w>D+t#@#xpdwW7|WH$8(#krVY#aOEp>kG;*=)G3B%4sm( zC<|BfHw%qV5KV_r-Vy5NKa!+e08K9EKT3YMB0YTk)%CB}*EhTs9!}i8zP{ebuSxTp zSH{;)G*(0g3jv$oq70aM?S)&{{K8@?k3Abv8N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DzLFajhCnwh>68RM%ZVyczzVP59D^t0?=$K!Ha6GbC+Nf+v8qNY?KGk&m)3 zfpkly`vu5W$;xvWn!uUO%9`?Wiml6u&?uPxM!U|rHwT@3SFnwKCkr2EN232X((eF{ diff --git a/build/test/results/test_SchereSteinPapier.pass b/build/test/results/test_SchereSteinPapier.pass index 50cbf47..26bdff0 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.04322500000034779 +:time: 0.04704379999930097 diff --git a/build/test/results/test_WortSpiel.pass b/build/test/results/test_WortSpiel.pass index 202982e..bf3b717 100644 --- a/build/test/results/test_WortSpiel.pass +++ b/build/test/results/test_WortSpiel.pass @@ -23,4 +23,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.8461330000000089 +:time: 0.5837992999995549 diff --git a/build/test/results/test_ageinseconds.pass b/build/test/results/test_ageinseconds.pass index 051cb90..8443e31 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.04038649999984045 +:time: 0.04200270000001183 diff --git a/build/test/results/test_minirechner.pass b/build/test/results/test_minirechner.pass index 2f1901a..298d512 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.04073479999988194 +:time: 0.04186870000012277 diff --git a/build/test/results/test_zahlenraten.pass b/build/test/results/test_zahlenraten.pass index f4efe92..4a33d28 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.0402087999991636 +:time: 0.042140999999901396 diff --git a/src/WortSpiel.h b/src/WortSpiel.h index b62e0a8..a81331f 100644 --- a/src/WortSpiel.h +++ b/src/WortSpiel.h @@ -2,5 +2,6 @@ #define WORTSPIEL_H void loescheBuchstaben(char* wort, char buchstabe); +int zaehleBuchstaben(const char* wort, char buchstabe); #endif // WORTSPIEL_H diff --git a/test/test_WortSpiel.c b/test/test_WortSpiel.c index e48828b..194cfe3 100644 --- a/test/test_WortSpiel.c +++ b/test/test_WortSpiel.c @@ -31,5 +31,11 @@ void testLoescheBuchstaben_Leereswort(void) { TEST_ASSERT_EQUAL_STRING("", wort3); } +void testZaehleBuchstaben_Buchstabenexistiert(void) { + // Testfall 1: Buchstabe existiert im Wort + char wort1[] = "Beispiel"; + int anzahl1 = zaehleBuchstaben(wort1, 'i'); + TEST_ASSERT_EQUAL_INT(2, anzahl1); +} #endif // TEST