Browse Source

refactoring: Refactoring4

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
19001c6016
  1. BIN
      build/test/out/c/quizduell.o
  2. BIN
      build/test/out/test_quizduell.out
  3. 2
      build/test/results/test_casualQuiz.pass
  4. 2
      build/test/results/test_quizduell.pass
  5. 2
      build/test/results/test_timequiz.pass
  6. 2
      build/test/results/test_wwm.pass
  7. 2
      src/quizduell.c

BIN
build/test/out/c/quizduell.o

BIN
build/test/out/test_quizduell.out

2
build/test/results/test_casualQuiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.020513700001174584
:time: 0.02078239998081699

2
build/test/results/test_quizduell.pass

@ -51,4 +51,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0187185000104364
:time: 0.021433699992485344

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.01958560000639409
:time: 0.02030239999294281

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.019048200018005446
:time: 0.021443899982841685

2
src/quizduell.c

@ -4,7 +4,7 @@
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
int pruefeAntwort(QuizFrage frage, char antwort) {
int pruefeAntwort(const QuizFrage frage, const char antwort) {
return (frage.korrekteAntwort == antwort); return (frage.korrekteAntwort == antwort);
} }

Loading…
Cancel
Save