diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index c9ba651..f65d99b 100644 Binary files a/build/test/out/c/quizduell.o and b/build/test/out/c/quizduell.o differ diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index da682a9..910a983 100755 Binary files a/build/test/out/test_quizduell.out and b/build/test/out/test_quizduell.out differ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 746ffbb..96ecbef 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016474300000027142 +:time: 0.016160799999852316 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 8e9c3bf..a521971 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.030872400000134803 +:time: 0.03210450000005949 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 90d4b2d..a04201c 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01619570000002568 +:time: 0.015652599999839367 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 0a4f53b..7857222 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016638599999851067 +:time: 0.016132599999991726 diff --git a/src/quizduell.c b/src/quizduell.c index 759d42f..fd90c01 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -33,6 +33,14 @@ int spieleKategorie(Kategorie* kategorie) { benutzerAntwort[0] = toupper(benutzerAntwort[0]); getchar(); + + if (pruefeAntwort(kategorie->fragen[i], benutzerAntwort[0])) { + printf("Correct!\n"); + punktzahl++; + } + else { + printf("Wrong! The correct Answer is %c\n", kategorie->fragen[i].korrekteAntwort); + } } return punktzahl; }