Browse Source

PunkteAuswertung

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
fa126af852
  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. 18
      build/test/results/test_quizduell.pass
  5. 2
      build/test/results/test_timequiz.pass
  6. 2
      build/test/results/test_wwm.pass
  7. 7
      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.0162731000000349
:time: 0.016199899999946865

18
build/test/results/test_quizduell.pass

@ -0,0 +1,18 @@
---
:source:
:path: test
:file: test_quizduell.c
:successes:
- :test: test_erstelleFrage
:line: 11
:message: ''
:unity_test_time: 0
:failures: []
:ignores: []
:counts:
:total: 1
:passed: 1
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0318529999999555

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.016043299999864757
:time: 0.01590089999990596

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.016211100000191436
:time: 0.016400100000055318

7
src/quizduell.c

@ -93,6 +93,13 @@ void quizduell() {
} }
} }
if (auswahlIndex != -1 && kategorien[auswahlIndex].fragen != NULL) {
int punkte = spieleKategorie(&kategorien[auswahlIndex]);
printf("\nPoints in this category: %d\n", punkte);
befreieKategorie(&kategorien[auswahlIndex]);
}
return; return;
} }
Loading…
Cancel
Save