Browse Source

refactoring: Refactoring8

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
3eb9a6b5dc
  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.01942100000451319
:time: 0.019236000021919608

2
build/test/results/test_quizduell.pass

@ -51,4 +51,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.02023269998608157
:time: 0.04335140000330284

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.018594499997561797
:time: 0.01822980001452379

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.018404699978418648
:time: 0.018483799998648465

2
src/quizduell.c

@ -21,7 +21,7 @@ QuizFrage erstelleFrage(const char* frage, const char* antwortA, const char* ant
} }
int spieleKategorie(Kategorie* kategorie) { int spieleKategorie(Kategorie* kategorie) {
int punktzahl = 0;
size_t punktzahl = 0;
int jokerVerwendet = 0; int jokerVerwendet = 0;
for (int i = 0; i < kategorie->anzahlFragen; i++) { for (int i = 0; i < kategorie->anzahlFragen; i++) {

Loading…
Cancel
Save