Browse Source

antworten array erstellt mit richtigen lösungs-array

remotes/origin/Florian
Florian Baeseler 11 months ago
parent
commit
7a616d5b37
  1. 22
      build/test/cache/input.yml
  2. 10
      build/test/dependencies/cmock.d
  3. 0
      build/test/dependencies/force_build
  4. 4
      build/test/dependencies/test_casualQuiz_runner.d
  5. 4
      build/test/dependencies/test_quizduell_runner.d
  6. 4
      build/test/dependencies/test_timequiz_runner.d
  7. 4
      build/test/dependencies/test_wwm_runner.d
  8. 6
      build/test/dependencies/unity.d
  9. BIN
      build/test/out/c/cmock.o
  10. BIN
      build/test/out/c/test_casualQuiz.o
  11. BIN
      build/test/out/c/test_casualQuiz_runner.o
  12. BIN
      build/test/out/c/test_quizduell.o
  13. BIN
      build/test/out/c/test_quizduell_runner.o
  14. BIN
      build/test/out/c/test_timequiz.o
  15. BIN
      build/test/out/c/test_timequiz_runner.o
  16. BIN
      build/test/out/c/test_wwm.o
  17. BIN
      build/test/out/c/test_wwm_runner.o
  18. BIN
      build/test/out/c/unity.o
  19. BIN
      build/test/out/test_casualQuiz.out
  20. BIN
      build/test/out/test_quizduell.out
  21. BIN
      build/test/out/test_timequiz.out
  22. BIN
      build/test/out/test_wwm.out
  23. 2
      build/test/results/test_casualQuiz.pass
  24. 2
      build/test/results/test_quizduell.pass
  25. 2
      build/test/results/test_timequiz.pass
  26. 2
      build/test/results/test_wwm.pass
  27. 5
      src/casualQuiz.c

22
build/test/cache/input.yml

@ -77,10 +77,10 @@
:testfail: ".fail" :testfail: ".fail"
:dependencies: ".d" :dependencies: ".d"
:unity: :unity:
:vendor_path: "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor"
:vendor_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor
:defines: [] :defines: []
:cmock: :cmock:
:vendor_path: "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor"
:vendor_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor
:defines: [] :defines: []
:includes: [] :includes: []
:mock_prefix: mock_ :mock_prefix: mock_
@ -99,14 +99,14 @@
:verbosity: 3 :verbosity: 3
:unity_helper: false :unity_helper: false
:cexception: :cexception:
:vendor_path: "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor"
:vendor_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor
:defines: [] :defines: []
:test_runner: :test_runner:
:includes: [] :includes: []
:file_suffix: _runner :file_suffix: _runner
:tools: :tools:
:test_compiler: :test_compiler:
:executable: gcc
:executable: gcc.exe
:name: default_test_compiler :name: default_test_compiler
:stderr_redirect: :none :stderr_redirect: :none
:background_exec: :none :background_exec: :none
@ -132,7 +132,7 @@
:optional: false :optional: false
:arguments: [] :arguments: []
:test_linker: :test_linker:
:executable: gcc
:executable: gcc.exe
:name: default_test_linker :name: default_test_linker
:stderr_redirect: :none :stderr_redirect: :none
:background_exec: :none :background_exec: :none
@ -148,7 +148,7 @@
- "${4}" - "${4}"
- '' - ''
:test_file_preprocessor: :test_file_preprocessor:
:executable: gcc
:executable: gcc.exe
:name: default_test_file_preprocessor :name: default_test_file_preprocessor
:stderr_redirect: :none :stderr_redirect: :none
:background_exec: :none :background_exec: :none
@ -165,7 +165,7 @@
- '"${1}"' - '"${1}"'
- -o "${2}" - -o "${2}"
:test_file_preprocessor_directives: :test_file_preprocessor_directives:
:executable: gcc
:executable: gcc.exe
:name: default_test_file_preprocessor_directives :name: default_test_file_preprocessor_directives
:stderr_redirect: :none :stderr_redirect: :none
:background_exec: :none :background_exec: :none
@ -181,7 +181,7 @@
- '"${1}"' - '"${1}"'
- -o "${2}" - -o "${2}"
:test_includes_preprocessor: :test_includes_preprocessor:
:executable: gcc
:executable: gcc.exe
:name: default_test_includes_preprocessor :name: default_test_includes_preprocessor
:stderr_redirect: :none :stderr_redirect: :none
:background_exec: :none :background_exec: :none
@ -223,13 +223,13 @@
:arguments: [] :arguments: []
:plugins: :plugins:
:load_paths: :load_paths:
- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins"
- C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins
:enabled: :enabled:
- stdout_pretty_tests_report - stdout_pretty_tests_report
- module_generator - module_generator
:display_raw_test_results: false :display_raw_test_results: false
:stdout_pretty_tests_report_path: "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins/stdout_pretty_tests_report"
:module_generator_path: "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins/module_generator"
:stdout_pretty_tests_report_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins/stdout_pretty_tests_report
:module_generator_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins/module_generator
:gcov: :gcov:
:reports: :reports:
- HtmlDetailed - HtmlDetailed

10
build/test/dependencies/cmock.d

@ -1,6 +1,6 @@
build/test/out/c/cmock.o: \ build/test/out/c/cmock.o: \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock_internals.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.c \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock_internals.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h

0
build/test/dependencies/force_build

4
build/test/dependencies/test_casualQuiz_runner.d

@ -1,4 +1,4 @@
build/test/out/c/test_casualQuiz_runner.o: \ build/test/out/c/test_casualQuiz_runner.o: \
build/test/runners/test_casualQuiz_runner.c \ build/test/runners/test_casualQuiz_runner.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h

4
build/test/dependencies/test_quizduell_runner.d

@ -1,4 +1,4 @@
build/test/out/c/test_quizduell_runner.o: \ build/test/out/c/test_quizduell_runner.o: \
build/test/runners/test_quizduell_runner.c \ build/test/runners/test_quizduell_runner.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h

4
build/test/dependencies/test_timequiz_runner.d

@ -1,4 +1,4 @@
build/test/out/c/test_timequiz_runner.o: \ build/test/out/c/test_timequiz_runner.o: \
build/test/runners/test_timequiz_runner.c \ build/test/runners/test_timequiz_runner.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h

4
build/test/dependencies/test_wwm_runner.d

@ -1,3 +1,3 @@
build/test/out/c/test_wwm_runner.o: build/test/runners/test_wwm_runner.c \ build/test/out/c/test_wwm_runner.o: build/test/runners/test_wwm_runner.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h

6
build/test/dependencies/unity.d

@ -1,4 +1,4 @@
build/test/out/c/unity.o: \ build/test/out/c/unity.o: \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.c \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.c \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h

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

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

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

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

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

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

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

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

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

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

BIN
build/test/out/test_casualQuiz.out

BIN
build/test/out/test_quizduell.out

BIN
build/test/out/test_timequiz.out

BIN
build/test/out/test_wwm.out

2
build/test/results/test_casualQuiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.004336156009230763
:time: 0.01390029999311082

2
build/test/results/test_quizduell.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.004334530996857211
:time: 0.015792600010172464

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.0043847519846167415
:time: 0.01602929999353364

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.004366140026831999
:time: 0.01476199999160599

5
src/casualQuiz.c

@ -12,6 +12,11 @@ void casualQuiz() {
"Which Disney character famously leaves a glass shoe behind at a royal ball?", "Which Disney character famously leaves a glass shoe behind at a royal ball?",
"The hammer and sickle is one of the most recognisable symbols of which political ideology?", "The hammer and sickle is one of the most recognisable symbols of which political ideology?",
}; };
char* easy_antworten[][4] = { //Eingabe der zugehörigen Antworten in ein array
{"Elsa", "Rapunzel", "Cinderella", "Pocahontas"},
{"Republicanism", "Liberalism", "Conservatism", "Communism"},
};
int easy_richtigeAntworten[] = { 3,4}; // int, um die jeweils richtige antwort zu zeigen
return; return;

Loading…
Cancel
Save