Browse Source

refactoring: Refactoring3

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
2af3d5f612
  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
:ignored: 0
:stdout: []
:time: 0.019618399994214997
:time: 0.020513700001174584

2
build/test/results/test_quizduell.pass

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

2
build/test/results/test_timequiz.pass

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

2
build/test/results/test_wwm.pass

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

2
src/quizduell.c

@ -10,7 +10,7 @@ int pruefeAntwort(QuizFrage frage, char antwort) {
QuizFrage erstelleFrage(const char* frage, const char* antwortA, const char* antwortB, const char* antwortC, const char* antwortD, char korrekteAntwort) {
QuizFrage neueFrage;
strcpy(neueFrage.frage, frage);
snprintf(neueFrage.frage, sizeof(neueFrage.frage), "%s", frage);
strcpy(neueFrage.antwortA, antwortA);
strcpy(neueFrage.antwortB, antwortB);
strcpy(neueFrage.antwortC, antwortC);

Loading…
Cancel
Save