diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index cea4d3f..0000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "configurations": [ - { - "name": "windows-gcc-x64", - "includePath": [ - "${workspaceFolder}/**" - ], - "compilerPath": "gcc", - "cStandard": "${default}", - "cppStandard": "${default}", - "intelliSenseMode": "windows-gcc-x64", - "compilerArgs": [ - "" - ] - } - ], - "version": 4 -} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index d39d65d..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "C/C++ Runner: Debug Session", - "type": "cppdbg", - "request": "launch", - "args": [], - "stopAtEntry": false, - "externalConsole": true, - "cwd": "c:/Users/emman/project_schach/taktikmeister/src", - "program": "c:/Users/emman/project_schach/taktikmeister/src/build/Debug/outDebug", - "MIMode": "gdb", - "miDebuggerPath": "gdb", - "setupCommands": [ - { - "description": "Enable pretty-printing for gdb", - "text": "-enable-pretty-printing", - "ignoreFailures": true - } - ] - } - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 73973d9..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "C_Cpp.dimInactiveRegions": false, - "C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat", - "C_Cpp_Runner.cCompilerPath": "gcc", - "C_Cpp_Runner.cppCompilerPath": "g++", - "C_Cpp_Runner.debuggerPath": "gdb", - "C_Cpp_Runner.cStandard": "", - "C_Cpp_Runner.cppStandard": "", - "C_Cpp_Runner.useMsvc": false, - "C_Cpp_Runner.warnings": [ - "-Wall", - "-Wextra", - "-Wpedantic", - "-Wshadow", - "-Wformat=2", - "-Wcast-align", - "-Wconversion", - "-Wsign-conversion", - "-Wnull-dereference" - ], - "C_Cpp_Runner.msvcWarnings": [ - "/W4", - "/permissive-", - "/w14242", - "/w14287", - "/w14296", - "/w14311", - "/w14826", - "/w44062", - "/w44242", - "/w14905", - "/w14906", - "/w14263", - "/w44265", - "/w14928" - ], - "C_Cpp_Runner.enableWarnings": true, - "C_Cpp_Runner.warningsAsError": false, - "C_Cpp_Runner.compilerArgs": [], - "C_Cpp_Runner.linkerArgs": [], - "C_Cpp_Runner.includePaths": [], - "C_Cpp_Runner.includeSearch": [ - "*", - "**/*" - ], - "C_Cpp_Runner.excludeSearch": [ - "**/build", - "**/build/**", - "**/.*", - "**/.*/**", - "**/.vscode", - "**/.vscode/**" - ], - "C_Cpp_Runner.useAddressSanitizer": false, - "C_Cpp_Runner.useUndefinedSanitizer": false, - "C_Cpp_Runner.useLeakSanitizer": false, - "C_Cpp_Runner.showCompilationTime": false, - "C_Cpp_Runner.useLinkTimeOptimization": false, - "C_Cpp_Runner.msvcSecureNoWarnings": false -} \ No newline at end of file diff --git a/build/artifacts/test/report.xml b/build/artifacts/test/report.xml deleted file mode 100644 index a0dddf2..0000000 --- a/build/artifacts/test/report.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - test/test_Bauer.c::test_Bauer_X_Bewegung - - - test/test_Bauer.c::test_Bauer_Schlag_Bewegung - - - test/test_Bauer.c::test_Bauer_Schwarz_Y_Bewegung - - - test/test_Bauer.c::test_Bauer_Y_Bewegung - - - test/test_Bauer.c::test_Bauer_Start_Bewegung - - - test/test_Input.c::test_getUserInput - - - test/test_Moving.c::test_Bauern_bewegen - - - test/test_Moving.c::test_istzugerlaubt - - - test/test_Schachbrett.c::test_Schachbrett_erstellen - - - - - 9 - 0 - 0 - 0 - 0 - - diff --git a/build/test/cache/defines_dependency.yml b/build/test/cache/defines_dependency.yml deleted file mode 100644 index 2ec9b3f..0000000 --- a/build/test/cache/defines_dependency.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -src/Input.c: -- TEST -src/Schachbrett.c: -- TEST -src/Moving.c: -- TEST -src/Bauer.c: -- TEST diff --git a/build/test/cache/input.yml b/build/test/cache/input.yml deleted file mode 100644 index c123a99..0000000 --- a/build/test/cache/input.yml +++ /dev/null @@ -1,244 +0,0 @@ ---- -:project: - :use_exceptions: false - :use_mocks: true - :compile_threads: 1 - :test_threads: 1 - :use_test_preprocessor: true - :use_preprocessor_directives: false - :use_deep_dependencies: false - :generate_deep_dependencies: true - :auto_link_deep_dependencies: false - :test_file_prefix: test_ - :options_paths: [] - :release_build: false - :use_auxiliary_dependencies: true - :build_root: build - :which_ceedling: gem - :ceedling_version: 0.31.1 - :default_tasks: - - test:all -:release_build: - :use_assembly: false - :artifacts: [] -:paths: - :test: - - "+:test/**" - - "-:test/support" - :source: - - src/** - :support: - - test/support - :include: [] - :libraries: [] - :test_toolchain_include: [] - :release_toolchain_include: [] -:files: - :test: [] - :source: [] - :assembly: [] - :support: [] - :include: [] -:environment: -- :rake_columns: '120' -:defines: - :test: - - &1 [] - - TEST - :test_preprocess: - - *1 - - TEST - :release: [] - :release_preprocess: [] - :use_test_definition: false - :common: [] -:libraries: - :flag: "-l${1}" - :path_flag: "-L ${1}" - :test: [] - :test_preprocess: [] - :release: [] - :release_preprocess: [] - :placement: :end - :system: [] -:flags: {} -:extension: - :header: ".h" - :source: ".c" - :assembly: ".s" - :object: ".o" - :libraries: - - ".a" - - ".so" - :executable: ".out" - :map: ".map" - :list: ".lst" - :testpass: ".pass" - :testfail: ".fail" - :dependencies: ".d" -:unity: - :vendor_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor - :defines: [] -:cmock: - :vendor_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor - :defines: [] - :includes: [] - :mock_prefix: mock_ - :when_no_prototypes: :warn - :enforce_strict_ordering: true - :plugins: - - :ignore - - :callback - :treat_as: - uint8: HEX8 - uint16: HEX16 - uint32: UINT32 - int8: INT8 - bool: UINT8 - :mock_path: build/test/mocks - :verbosity: 3 - :unity_helper: false -:cexception: - :vendor_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor - :defines: [] -:test_runner: - :includes: [] - :file_suffix: _runner -:tools: - :test_compiler: - :executable: gcc.exe - :name: default_test_compiler - :stderr_redirect: :none - :background_exec: :none - :optional: false - :arguments: - - '' - - '' - - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR - - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE - - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR - - "-DGNU_COMPILER" - - "-g" - - '' - - -c "${1}" - - -o "${2}" - - "-MMD" - - -MF "${4}" - :test_fixture: - :executable: "${1}" - :name: default_test_fixture - :stderr_redirect: :auto - :background_exec: :none - :optional: false - :arguments: [] - :test_linker: - :executable: gcc.exe - :name: default_test_linker - :stderr_redirect: :none - :background_exec: :none - :optional: false - :arguments: - - '' - - '' - - '' - - '"${1}"' - - "${5}" - - -o "${2}" - - '' - - "${4}" - - '' - :test_file_preprocessor: - :executable: gcc.exe - :name: default_test_file_preprocessor - :stderr_redirect: :none - :background_exec: :none - :optional: false - :arguments: - - '' - - '' - - "-E" - - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR - - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE - - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR - - "-D$": DEFINES_TEST_PREPROCESS - - "-DGNU_COMPILER" - - '"${1}"' - - -o "${2}" - :test_file_preprocessor_directives: - :executable: gcc.exe - :name: default_test_file_preprocessor_directives - :stderr_redirect: :none - :background_exec: :none - :optional: false - :arguments: - - "-E" - - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR - - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE - - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR - - "-D$": DEFINES_TEST_PREPROCESS - - "-DGNU_COMPILER" - - "-fdirectives-only" - - '"${1}"' - - -o "${2}" - :test_includes_preprocessor: - :executable: gcc.exe - :name: default_test_includes_preprocessor - :stderr_redirect: :none - :background_exec: :none - :optional: false - :arguments: - - '' - - '' - - "-E" - - "-MM" - - "-MG" - - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR - - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE - - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR - - "-D$": DEFINES_TEST_PREPROCESS - - "-DGNU_COMPILER" - - '"${1}"' -:test_compiler: - :arguments: [] -:test_linker: - :arguments: [] -:test_fixture: - :arguments: [] - :link_objects: [] -:test_includes_preprocessor: - :arguments: [] -:test_file_preprocessor: - :arguments: [] -:test_file_preprocessor_directives: - :arguments: [] -:test_dependencies_generator: - :arguments: [] -:release_compiler: - :arguments: [] -:release_linker: - :arguments: [] -:release_assembler: - :arguments: [] -:release_dependencies_generator: - :arguments: [] -:plugins: - :load_paths: - - C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins - :enabled: - - stdout_pretty_tests_report - - module_generator - - xml_tests_report - :display_raw_test_results: false - :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 - :xml_tests_report_path: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/lib/../plugins/xml_tests_report -:gcov: - :reports: - - HtmlDetailed - :gcovr: - :html_medium_threshold: 75 - :html_high_threshold: 90 -:module_generator: - :project_root: "./" - :source_root: src/ - :test_root: test/ diff --git a/build/test/cache/test_Bauer.c b/build/test/cache/test_Bauer.c deleted file mode 100644 index e5aebdb..0000000 --- a/build/test/cache/test_Bauer.c +++ /dev/null @@ -1,269 +0,0 @@ -#include "src/Bauer.h" -#include "src/Spieler.h" -#include "src/Schachbrett.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_Bauer_X_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 1; - - int endX = 2; - - int endY = 1; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(24))));}} while(0); - - - - - - do {if (!(istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(27)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_Bauer_Schlag_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 6; - - int startY = 2; - - int endX = 5; - - int endY = 3; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(46))));}} while(0); - - - - brett[startY][startX] = 'P'; - - brett[endY][endX] = 'p'; - - - - print_Schachfeld(brett,8,8); - - - - do {if (!(istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(53)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_Bauer_Schwarz_Y_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 6; - - int endX = 1; - - int endY = 5; - - Player player = PLAYER_BLACK; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(72))));}} while(0); - - - - - - do {if ((istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(75)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - - - -void test_Bauer_Y_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 1; - - int endX = 1; - - int endY = 2; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(95))));}} while(0); - - - - - - do {if ((istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(98)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_Bauer_Start_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 2; - - int startY = 1; - - int endX = 2; - - int endY = 3; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(117))));}} while(0); - - - - - - do {if ((istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(120)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} diff --git a/build/test/cache/test_Input.c b/build/test/cache/test_Input.c deleted file mode 100644 index 2dfe949..0000000 --- a/build/test/cache/test_Input.c +++ /dev/null @@ -1,67 +0,0 @@ -#include "src/Input.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_getUserInput(void) { - - const char *test_input = "a1"; - - FILE *tempInputFile; - - - - tempInputFile = fopen("temp_input.txt", "w"); - - fprintf(tempInputFile, "%s\n", test_input); - - fclose(tempInputFile); - - - - - - tempInputFile = freopen("temp_input.txt", "r", - - (__acrt_iob_func(0)) - - ); - - - - - - char *actual_input = getUserInput(); - - UnityAssertEqualString((const char*)((test_input)), (const char*)((actual_input)), ( - - ((void *)0) - - ), (UNITY_UINT)(38)); - - - - - - free(actual_input); - - fclose(tempInputFile); - - remove("temp_input.txt"); - -} diff --git a/build/test/cache/test_Moving.c b/build/test/cache/test_Moving.c deleted file mode 100644 index 3515e9c..0000000 --- a/build/test/cache/test_Moving.c +++ /dev/null @@ -1,121 +0,0 @@ -#include "src/Spieler.h" -#include "src/Moving.h" -#include "src/Schachbrett.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_Bauern_bewegen(void) { - - char** brett = Schachbrett_erstellen(); - - int startX = 0; - - int startY = 1; - - int endX = 0; - - int endY = 2; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(23))));}} while(0); - - - - machezug( brett, startX, startY, endX, endY, player); - - - - print_Schachfeld(brett,8,8); - - - - UnityAssertEqualNumber((UNITY_INT)(('P')), (UNITY_INT)((brett[2][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(29), UNITY_DISPLAY_STYLE_INT); - - UnityAssertEqualNumber((UNITY_INT)((' ')), (UNITY_INT)((brett[1][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(30), UNITY_DISPLAY_STYLE_INT); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_istzugerlaubt(void){ - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 1; - - int endX = 1; - - int endY = 1; - - Player player = PLAYER_WHITE; - - - - - - - - do {if (!(istzugerlaubt(brett,startX,startY,endX,endY,player))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(49)));}} while(0); - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - - - - - - - -} diff --git a/build/test/cache/test_Schachbrett.c b/build/test/cache/test_Schachbrett.c deleted file mode 100644 index 184e5d8..0000000 --- a/build/test/cache/test_Schachbrett.c +++ /dev/null @@ -1,63 +0,0 @@ -#include "src/Schachbrett.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_Schachbrett_erstellen(void) { - - char** brett = Schachbrett_erstellen(); - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(15))));}} while(0); - - - - - - UnityAssertEqualNumber((UNITY_INT)(('R')), (UNITY_INT)((brett[0][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(18), UNITY_DISPLAY_STYLE_INT); - - UnityAssertEqualNumber((UNITY_INT)(('p')), (UNITY_INT)((brett[6][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(19), UNITY_DISPLAY_STYLE_INT); - - UnityAssertEqualNumber((UNITY_INT)((' ')), (UNITY_INT)((brett[4][4])), ( - - ((void *)0) - - ), (UNITY_UINT)(20), UNITY_DISPLAY_STYLE_INT); - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} diff --git a/build/test/dependencies/Bauer.d b/build/test/dependencies/Bauer.d deleted file mode 100644 index 1e3b64d..0000000 --- a/build/test/dependencies/Bauer.d +++ /dev/null @@ -1,2 +0,0 @@ -build/test/out/c/Bauer.o: src/Bauer.c src/spieler.h src/Moving.h \ - src/Bauer.h diff --git a/build/test/dependencies/Input.d b/build/test/dependencies/Input.d deleted file mode 100644 index 813cbf7..0000000 --- a/build/test/dependencies/Input.d +++ /dev/null @@ -1 +0,0 @@ -build/test/out/c/Input.o: src/Input.c diff --git a/build/test/dependencies/Moving.d b/build/test/dependencies/Moving.d deleted file mode 100644 index 6c76fcb..0000000 --- a/build/test/dependencies/Moving.d +++ /dev/null @@ -1 +0,0 @@ -build/test/out/c/Moving.o: src/Moving.c src/spieler.h src/Bauer.h diff --git a/build/test/dependencies/Schachbrett.d b/build/test/dependencies/Schachbrett.d deleted file mode 100644 index 5f87cef..0000000 --- a/build/test/dependencies/Schachbrett.d +++ /dev/null @@ -1 +0,0 @@ -build/test/out/c/Schachbrett.o: src/Schachbrett.c diff --git a/build/test/dependencies/cmock.d b/build/test/dependencies/cmock.d deleted file mode 100644 index bdf4cc9..0000000 --- a/build/test/dependencies/cmock.d +++ /dev/null @@ -1,6 +0,0 @@ -build/test/out/c/cmock.o: \ - 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 diff --git a/build/test/dependencies/test_Bauer.d b/build/test/dependencies/test_Bauer.d deleted file mode 100644 index 07e2b8b..0000000 --- a/build/test/dependencies/test_Bauer.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Bauer.o: test/test_Bauer.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 \ - src/Schachbrett.h src/Spieler.h src/Bauer.h src/spieler.h diff --git a/build/test/dependencies/test_Bauer_runner.d b/build/test/dependencies/test_Bauer_runner.d deleted file mode 100644 index 3f3b683..0000000 --- a/build/test/dependencies/test_Bauer_runner.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Bauer_runner.o: \ - build/test/runners/test_Bauer_runner.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 diff --git a/build/test/dependencies/test_Input.d b/build/test/dependencies/test_Input.d deleted file mode 100644 index 874bc20..0000000 --- a/build/test/dependencies/test_Input.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Input.o: test/test_Input.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 \ - src/Input.h diff --git a/build/test/dependencies/test_Input_runner.d b/build/test/dependencies/test_Input_runner.d deleted file mode 100644 index 870d17d..0000000 --- a/build/test/dependencies/test_Input_runner.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Input_runner.o: \ - build/test/runners/test_Input_runner.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 diff --git a/build/test/dependencies/test_Moving.d b/build/test/dependencies/test_Moving.d deleted file mode 100644 index ba306a1..0000000 --- a/build/test/dependencies/test_Moving.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Moving.o: test/test_Moving.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 \ - src/Schachbrett.h src/Moving.h src/spieler.h src/Spieler.h diff --git a/build/test/dependencies/test_Moving_runner.d b/build/test/dependencies/test_Moving_runner.d deleted file mode 100644 index 8a481db..0000000 --- a/build/test/dependencies/test_Moving_runner.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Moving_runner.o: \ - build/test/runners/test_Moving_runner.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 diff --git a/build/test/dependencies/test_Schachbrett.d b/build/test/dependencies/test_Schachbrett.d deleted file mode 100644 index 1b35295..0000000 --- a/build/test/dependencies/test_Schachbrett.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Schachbrett.o: test/test_Schachbrett.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 \ - src/Schachbrett.h diff --git a/build/test/dependencies/test_Schachbrett_runner.d b/build/test/dependencies/test_Schachbrett_runner.d deleted file mode 100644 index 462c294..0000000 --- a/build/test/dependencies/test_Schachbrett_runner.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/test_Schachbrett_runner.o: \ - build/test/runners/test_Schachbrett_runner.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 diff --git a/build/test/dependencies/unity.d b/build/test/dependencies/unity.d deleted file mode 100644 index 0baf56c..0000000 --- a/build/test/dependencies/unity.d +++ /dev/null @@ -1,4 +0,0 @@ -build/test/out/c/unity.o: \ - 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 diff --git a/build/test/out/c/Bauer.o b/build/test/out/c/Bauer.o deleted file mode 100644 index dfc6c8d..0000000 Binary files a/build/test/out/c/Bauer.o and /dev/null differ diff --git a/build/test/out/c/Input.o b/build/test/out/c/Input.o deleted file mode 100644 index 92d40c6..0000000 Binary files a/build/test/out/c/Input.o and /dev/null differ diff --git a/build/test/out/c/Moving.o b/build/test/out/c/Moving.o deleted file mode 100644 index 1473fab..0000000 Binary files a/build/test/out/c/Moving.o and /dev/null differ diff --git a/build/test/out/c/Schachbrett.o b/build/test/out/c/Schachbrett.o deleted file mode 100644 index c0a1d98..0000000 Binary files a/build/test/out/c/Schachbrett.o and /dev/null differ diff --git a/build/test/out/c/cmock.o b/build/test/out/c/cmock.o deleted file mode 100644 index 6e80141..0000000 Binary files a/build/test/out/c/cmock.o and /dev/null differ diff --git a/build/test/out/c/test_Bauer.o b/build/test/out/c/test_Bauer.o deleted file mode 100644 index 1a09ba8..0000000 Binary files a/build/test/out/c/test_Bauer.o and /dev/null differ diff --git a/build/test/out/c/test_Bauer_runner.o b/build/test/out/c/test_Bauer_runner.o deleted file mode 100644 index 5731961..0000000 Binary files a/build/test/out/c/test_Bauer_runner.o and /dev/null differ diff --git a/build/test/out/c/test_Input.o b/build/test/out/c/test_Input.o deleted file mode 100644 index d802e02..0000000 Binary files a/build/test/out/c/test_Input.o and /dev/null differ diff --git a/build/test/out/c/test_Input_runner.o b/build/test/out/c/test_Input_runner.o deleted file mode 100644 index a3a30cf..0000000 Binary files a/build/test/out/c/test_Input_runner.o and /dev/null differ diff --git a/build/test/out/c/test_Moving.o b/build/test/out/c/test_Moving.o deleted file mode 100644 index c737f4f..0000000 Binary files a/build/test/out/c/test_Moving.o and /dev/null differ diff --git a/build/test/out/c/test_Moving_runner.o b/build/test/out/c/test_Moving_runner.o deleted file mode 100644 index 788214f..0000000 Binary files a/build/test/out/c/test_Moving_runner.o and /dev/null differ diff --git a/build/test/out/c/test_Schachbrett.o b/build/test/out/c/test_Schachbrett.o deleted file mode 100644 index 36a112b..0000000 Binary files a/build/test/out/c/test_Schachbrett.o and /dev/null differ diff --git a/build/test/out/c/test_Schachbrett_runner.o b/build/test/out/c/test_Schachbrett_runner.o deleted file mode 100644 index af84a9b..0000000 Binary files a/build/test/out/c/test_Schachbrett_runner.o and /dev/null differ diff --git a/build/test/out/c/unity.o b/build/test/out/c/unity.o deleted file mode 100644 index a836583..0000000 Binary files a/build/test/out/c/unity.o and /dev/null differ diff --git a/build/test/out/test_Bauer.out b/build/test/out/test_Bauer.out deleted file mode 100644 index 9c25875..0000000 Binary files a/build/test/out/test_Bauer.out and /dev/null differ diff --git a/build/test/out/test_Input.out b/build/test/out/test_Input.out deleted file mode 100644 index 0d184f5..0000000 Binary files a/build/test/out/test_Input.out and /dev/null differ diff --git a/build/test/out/test_Moving.out b/build/test/out/test_Moving.out deleted file mode 100644 index 30630c5..0000000 Binary files a/build/test/out/test_Moving.out and /dev/null differ diff --git a/build/test/out/test_Schachbrett.out b/build/test/out/test_Schachbrett.out deleted file mode 100644 index 49f9841..0000000 Binary files a/build/test/out/test_Schachbrett.out and /dev/null differ diff --git a/build/test/preprocess/files/test_Bauer.c b/build/test/preprocess/files/test_Bauer.c deleted file mode 100644 index e5aebdb..0000000 --- a/build/test/preprocess/files/test_Bauer.c +++ /dev/null @@ -1,269 +0,0 @@ -#include "src/Bauer.h" -#include "src/Spieler.h" -#include "src/Schachbrett.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_Bauer_X_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 1; - - int endX = 2; - - int endY = 1; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(24))));}} while(0); - - - - - - do {if (!(istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(27)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_Bauer_Schlag_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 6; - - int startY = 2; - - int endX = 5; - - int endY = 3; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(46))));}} while(0); - - - - brett[startY][startX] = 'P'; - - brett[endY][endX] = 'p'; - - - - print_Schachfeld(brett,8,8); - - - - do {if (!(istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(53)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_Bauer_Schwarz_Y_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 6; - - int endX = 1; - - int endY = 5; - - Player player = PLAYER_BLACK; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(72))));}} while(0); - - - - - - do {if ((istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(75)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - - - -void test_Bauer_Y_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 1; - - int endX = 1; - - int endY = 2; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(95))));}} while(0); - - - - - - do {if ((istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(98)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_Bauer_Start_Bewegung(void) { - - - - char** brett = Schachbrett_erstellen(); - - int startX = 2; - - int startY = 1; - - int endX = 2; - - int endY = 3; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(117))));}} while(0); - - - - - - do {if ((istzugerlaubt_Bauer( brett, startX, startY, endX, endY, player))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(120)));}} while(0); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} diff --git a/build/test/preprocess/files/test_Input.c b/build/test/preprocess/files/test_Input.c deleted file mode 100644 index 2dfe949..0000000 --- a/build/test/preprocess/files/test_Input.c +++ /dev/null @@ -1,67 +0,0 @@ -#include "src/Input.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_getUserInput(void) { - - const char *test_input = "a1"; - - FILE *tempInputFile; - - - - tempInputFile = fopen("temp_input.txt", "w"); - - fprintf(tempInputFile, "%s\n", test_input); - - fclose(tempInputFile); - - - - - - tempInputFile = freopen("temp_input.txt", "r", - - (__acrt_iob_func(0)) - - ); - - - - - - char *actual_input = getUserInput(); - - UnityAssertEqualString((const char*)((test_input)), (const char*)((actual_input)), ( - - ((void *)0) - - ), (UNITY_UINT)(38)); - - - - - - free(actual_input); - - fclose(tempInputFile); - - remove("temp_input.txt"); - -} diff --git a/build/test/preprocess/files/test_Moving.c b/build/test/preprocess/files/test_Moving.c deleted file mode 100644 index 3515e9c..0000000 --- a/build/test/preprocess/files/test_Moving.c +++ /dev/null @@ -1,121 +0,0 @@ -#include "src/Spieler.h" -#include "src/Moving.h" -#include "src/Schachbrett.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_Bauern_bewegen(void) { - - char** brett = Schachbrett_erstellen(); - - int startX = 0; - - int startY = 1; - - int endX = 0; - - int endY = 2; - - Player player = PLAYER_WHITE; - - - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(23))));}} while(0); - - - - machezug( brett, startX, startY, endX, endY, player); - - - - print_Schachfeld(brett,8,8); - - - - UnityAssertEqualNumber((UNITY_INT)(('P')), (UNITY_INT)((brett[2][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(29), UNITY_DISPLAY_STYLE_INT); - - UnityAssertEqualNumber((UNITY_INT)((' ')), (UNITY_INT)((brett[1][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(30), UNITY_DISPLAY_STYLE_INT); - - - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} - - - -void test_istzugerlaubt(void){ - - char** brett = Schachbrett_erstellen(); - - int startX = 1; - - int startY = 1; - - int endX = 1; - - int endY = 1; - - Player player = PLAYER_WHITE; - - - - - - - - do {if (!(istzugerlaubt(brett,startX,startY,endX,endY,player))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(49)));}} while(0); - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - - - - - - - -} diff --git a/build/test/preprocess/files/test_Schachbrett.c b/build/test/preprocess/files/test_Schachbrett.c deleted file mode 100644 index 184e5d8..0000000 --- a/build/test/preprocess/files/test_Schachbrett.c +++ /dev/null @@ -1,63 +0,0 @@ -#include "src/Schachbrett.h" -#include "C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - - - -void setUp(void) { - -} - - - -void tearDown(void) { - -} - - - -void test_Schachbrett_erstellen(void) { - - char** brett = Schachbrett_erstellen(); - - - - do {if ((((brett)) != - - ((void *)0) - - )) {} else {UnityFail( (((" Expected Non-NULL"))), (UNITY_UINT)((UNITY_UINT)((UNITY_UINT)(15))));}} while(0); - - - - - - UnityAssertEqualNumber((UNITY_INT)(('R')), (UNITY_INT)((brett[0][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(18), UNITY_DISPLAY_STYLE_INT); - - UnityAssertEqualNumber((UNITY_INT)(('p')), (UNITY_INT)((brett[6][0])), ( - - ((void *)0) - - ), (UNITY_UINT)(19), UNITY_DISPLAY_STYLE_INT); - - UnityAssertEqualNumber((UNITY_INT)((' ')), (UNITY_INT)((brett[4][4])), ( - - ((void *)0) - - ), (UNITY_UINT)(20), UNITY_DISPLAY_STYLE_INT); - - - - for (int i = 0; i < 8; i++) { - - free(brett[i]); - - } - - free(brett); - -} diff --git a/build/test/preprocess/includes/test_Bauer.c b/build/test/preprocess/includes/test_Bauer.c deleted file mode 100644 index 2799911..0000000 --- a/build/test/preprocess/includes/test_Bauer.c +++ /dev/null @@ -1,5 +0,0 @@ ---- -- C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h -- src/Schachbrett.h -- src/Spieler.h -- src/Bauer.h diff --git a/build/test/preprocess/includes/test_Input.c b/build/test/preprocess/includes/test_Input.c deleted file mode 100644 index f7e1f34..0000000 --- a/build/test/preprocess/includes/test_Input.c +++ /dev/null @@ -1,3 +0,0 @@ ---- -- C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h -- src/Input.h diff --git a/build/test/preprocess/includes/test_Moving.c b/build/test/preprocess/includes/test_Moving.c deleted file mode 100644 index daf1b20..0000000 --- a/build/test/preprocess/includes/test_Moving.c +++ /dev/null @@ -1,5 +0,0 @@ ---- -- C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h -- src/Schachbrett.h -- src/Moving.h -- src/Spieler.h diff --git a/build/test/preprocess/includes/test_Schachbrett.c b/build/test/preprocess/includes/test_Schachbrett.c deleted file mode 100644 index da56b6a..0000000 --- a/build/test/preprocess/includes/test_Schachbrett.c +++ /dev/null @@ -1,3 +0,0 @@ ---- -- C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h -- src/Schachbrett.h diff --git a/build/test/results/test_Bauer.pass b/build/test/results/test_Bauer.pass deleted file mode 100644 index dea5703..0000000 --- a/build/test/results/test_Bauer.pass +++ /dev/null @@ -1,42 +0,0 @@ ---- -:source: - :path: test - :file: test_Bauer.c -:successes: -- :test: test_Bauer_X_Bewegung - :line: 14 - :message: '' - :unity_test_time: 0 -- :test: test_Bauer_Schlag_Bewegung - :line: 36 - :message: '' - :unity_test_time: 0 -- :test: test_Bauer_Schwarz_Y_Bewegung - :line: 62 - :message: '' - :unity_test_time: 0 -- :test: test_Bauer_Y_Bewegung - :line: 85 - :message: '' - :unity_test_time: 0 -- :test: test_Bauer_Start_Bewegung - :line: 107 - :message: '' - :unity_test_time: 0 -:failures: [] -:ignores: [] -:counts: - :total: 5 - :passed: 5 - :failed: 0 - :ignored: 0 -:stdout: -- " R N B Q K B N R " -- " P P P P P P P P " -- " P " -- " p " -- " " -- " " -- " p p p p p p p p " -- " r n b q k b n r " -:time: 0.17051259998697788 diff --git a/build/test/results/test_Input.pass b/build/test/results/test_Input.pass deleted file mode 100644 index e818eca..0000000 --- a/build/test/results/test_Input.pass +++ /dev/null @@ -1,19 +0,0 @@ ---- -:source: - :path: test - :file: test_Input.c -:successes: -- :test: test_getUserInput - :line: 13 - :message: '' - :unity_test_time: 0 -:failures: [] -:ignores: [] -:counts: - :total: 1 - :passed: 1 - :failed: 0 - :ignored: 0 -:stdout: -- "-> " -:time: 0.030730400001630187 diff --git a/build/test/results/test_Moving.pass b/build/test/results/test_Moving.pass deleted file mode 100644 index e4ff5d5..0000000 --- a/build/test/results/test_Moving.pass +++ /dev/null @@ -1,30 +0,0 @@ ---- -:source: - :path: test - :file: test_Moving.c -:successes: -- :test: test_Bauern_bewegen - :line: 14 - :message: '' - :unity_test_time: 0 -- :test: test_istzugerlaubt - :line: 39 - :message: '' - :unity_test_time: 0 -:failures: [] -:ignores: [] -:counts: - :total: 2 - :passed: 2 - :failed: 0 - :ignored: 0 -:stdout: -- " R N B Q K B N R " -- " P P P P P P P " -- " P " -- " " -- " " -- " " -- " p p p p p p p p " -- " r n b q k b n r " -:time: 0.02595009992364794 diff --git a/build/test/results/test_Schachbrett.pass b/build/test/results/test_Schachbrett.pass deleted file mode 100644 index bfd5a2d..0000000 --- a/build/test/results/test_Schachbrett.pass +++ /dev/null @@ -1,18 +0,0 @@ ---- -:source: - :path: test - :file: test_Schachbrett.c -:successes: -- :test: test_Schachbrett_erstellen - :line: 12 - :message: '' - :unity_test_time: 0 -:failures: [] -:ignores: [] -:counts: - :total: 1 - :passed: 1 - :failed: 0 - :ignored: 0 -:stdout: [] -:time: 0.02901870000641793 diff --git a/build/test/runners/test_Bauer_runner.c b/build/test/runners/test_Bauer_runner.c deleted file mode 100644 index a4f83b3..0000000 --- a/build/test/runners/test_Bauer_runner.c +++ /dev/null @@ -1,89 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -/*=======Automagically Detected Files To Include=====*/ -#include "unity.h" - -int GlobalExpectCount; -int GlobalVerifyOrder; -char* GlobalOrderError; - -/*=======External Functions This Runner Calls=====*/ -extern void setUp(void); -extern void tearDown(void); -extern void test_Bauer_X_Bewegung(void); -extern void test_Bauer_Schlag_Bewegung(void); -extern void test_Bauer_Schwarz_Y_Bewegung(void); -extern void test_Bauer_Y_Bewegung(void); -extern void test_Bauer_Start_Bewegung(void); - - -/*=======Mock Management=====*/ -static void CMock_Init(void) -{ - GlobalExpectCount = 0; - GlobalVerifyOrder = 0; - GlobalOrderError = NULL; -} -static void CMock_Verify(void) -{ -} -static void CMock_Destroy(void) -{ -} - -/*=======Test Reset Options=====*/ -void resetTest(void); -void resetTest(void) -{ - tearDown(); - CMock_Verify(); - CMock_Destroy(); - CMock_Init(); - setUp(); -} -void verifyTest(void); -void verifyTest(void) -{ - CMock_Verify(); -} - -/*=======Test Runner Used To Run Each Test=====*/ -static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num) -{ - Unity.CurrentTestName = name; - Unity.CurrentTestLineNumber = line_num; -#ifdef UNITY_USE_COMMAND_LINE_ARGS - if (!UnityTestMatches()) - return; -#endif - Unity.NumberOfTests++; - UNITY_CLR_DETAILS(); - UNITY_EXEC_TIME_START(); - CMock_Init(); - if (TEST_PROTECT()) - { - setUp(); - func(); - } - if (TEST_PROTECT()) - { - tearDown(); - CMock_Verify(); - } - CMock_Destroy(); - UNITY_EXEC_TIME_STOP(); - UnityConcludeTest(); -} - -/*=======MAIN=====*/ -int main(void) -{ - UnityBegin("test_Bauer.c"); - run_test(test_Bauer_X_Bewegung, "test_Bauer_X_Bewegung", 14); - run_test(test_Bauer_Schlag_Bewegung, "test_Bauer_Schlag_Bewegung", 36); - run_test(test_Bauer_Schwarz_Y_Bewegung, "test_Bauer_Schwarz_Y_Bewegung", 62); - run_test(test_Bauer_Y_Bewegung, "test_Bauer_Y_Bewegung", 85); - run_test(test_Bauer_Start_Bewegung, "test_Bauer_Start_Bewegung", 107); - - return UnityEnd(); -} diff --git a/build/test/runners/test_Input_runner.c b/build/test/runners/test_Input_runner.c deleted file mode 100644 index 221ce52..0000000 --- a/build/test/runners/test_Input_runner.c +++ /dev/null @@ -1,81 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -/*=======Automagically Detected Files To Include=====*/ -#include "unity.h" - -int GlobalExpectCount; -int GlobalVerifyOrder; -char* GlobalOrderError; - -/*=======External Functions This Runner Calls=====*/ -extern void setUp(void); -extern void tearDown(void); -extern void test_getUserInput(void); - - -/*=======Mock Management=====*/ -static void CMock_Init(void) -{ - GlobalExpectCount = 0; - GlobalVerifyOrder = 0; - GlobalOrderError = NULL; -} -static void CMock_Verify(void) -{ -} -static void CMock_Destroy(void) -{ -} - -/*=======Test Reset Options=====*/ -void resetTest(void); -void resetTest(void) -{ - tearDown(); - CMock_Verify(); - CMock_Destroy(); - CMock_Init(); - setUp(); -} -void verifyTest(void); -void verifyTest(void) -{ - CMock_Verify(); -} - -/*=======Test Runner Used To Run Each Test=====*/ -static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num) -{ - Unity.CurrentTestName = name; - Unity.CurrentTestLineNumber = line_num; -#ifdef UNITY_USE_COMMAND_LINE_ARGS - if (!UnityTestMatches()) - return; -#endif - Unity.NumberOfTests++; - UNITY_CLR_DETAILS(); - UNITY_EXEC_TIME_START(); - CMock_Init(); - if (TEST_PROTECT()) - { - setUp(); - func(); - } - if (TEST_PROTECT()) - { - tearDown(); - CMock_Verify(); - } - CMock_Destroy(); - UNITY_EXEC_TIME_STOP(); - UnityConcludeTest(); -} - -/*=======MAIN=====*/ -int main(void) -{ - UnityBegin("test_Input.c"); - run_test(test_getUserInput, "test_getUserInput", 13); - - return UnityEnd(); -} diff --git a/build/test/runners/test_Moving_runner.c b/build/test/runners/test_Moving_runner.c deleted file mode 100644 index 8bc47fe..0000000 --- a/build/test/runners/test_Moving_runner.c +++ /dev/null @@ -1,83 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -/*=======Automagically Detected Files To Include=====*/ -#include "unity.h" - -int GlobalExpectCount; -int GlobalVerifyOrder; -char* GlobalOrderError; - -/*=======External Functions This Runner Calls=====*/ -extern void setUp(void); -extern void tearDown(void); -extern void test_Bauern_bewegen(void); -extern void test_istzugerlaubt(void); - - -/*=======Mock Management=====*/ -static void CMock_Init(void) -{ - GlobalExpectCount = 0; - GlobalVerifyOrder = 0; - GlobalOrderError = NULL; -} -static void CMock_Verify(void) -{ -} -static void CMock_Destroy(void) -{ -} - -/*=======Test Reset Options=====*/ -void resetTest(void); -void resetTest(void) -{ - tearDown(); - CMock_Verify(); - CMock_Destroy(); - CMock_Init(); - setUp(); -} -void verifyTest(void); -void verifyTest(void) -{ - CMock_Verify(); -} - -/*=======Test Runner Used To Run Each Test=====*/ -static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num) -{ - Unity.CurrentTestName = name; - Unity.CurrentTestLineNumber = line_num; -#ifdef UNITY_USE_COMMAND_LINE_ARGS - if (!UnityTestMatches()) - return; -#endif - Unity.NumberOfTests++; - UNITY_CLR_DETAILS(); - UNITY_EXEC_TIME_START(); - CMock_Init(); - if (TEST_PROTECT()) - { - setUp(); - func(); - } - if (TEST_PROTECT()) - { - tearDown(); - CMock_Verify(); - } - CMock_Destroy(); - UNITY_EXEC_TIME_STOP(); - UnityConcludeTest(); -} - -/*=======MAIN=====*/ -int main(void) -{ - UnityBegin("test_Moving.c"); - run_test(test_Bauern_bewegen, "test_Bauern_bewegen", 14); - run_test(test_istzugerlaubt, "test_istzugerlaubt", 39); - - return UnityEnd(); -} diff --git a/build/test/runners/test_Schachbrett_runner.c b/build/test/runners/test_Schachbrett_runner.c deleted file mode 100644 index 7a8a641..0000000 --- a/build/test/runners/test_Schachbrett_runner.c +++ /dev/null @@ -1,81 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -/*=======Automagically Detected Files To Include=====*/ -#include "unity.h" - -int GlobalExpectCount; -int GlobalVerifyOrder; -char* GlobalOrderError; - -/*=======External Functions This Runner Calls=====*/ -extern void setUp(void); -extern void tearDown(void); -extern void test_Schachbrett_erstellen(void); - - -/*=======Mock Management=====*/ -static void CMock_Init(void) -{ - GlobalExpectCount = 0; - GlobalVerifyOrder = 0; - GlobalOrderError = NULL; -} -static void CMock_Verify(void) -{ -} -static void CMock_Destroy(void) -{ -} - -/*=======Test Reset Options=====*/ -void resetTest(void); -void resetTest(void) -{ - tearDown(); - CMock_Verify(); - CMock_Destroy(); - CMock_Init(); - setUp(); -} -void verifyTest(void); -void verifyTest(void) -{ - CMock_Verify(); -} - -/*=======Test Runner Used To Run Each Test=====*/ -static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num) -{ - Unity.CurrentTestName = name; - Unity.CurrentTestLineNumber = line_num; -#ifdef UNITY_USE_COMMAND_LINE_ARGS - if (!UnityTestMatches()) - return; -#endif - Unity.NumberOfTests++; - UNITY_CLR_DETAILS(); - UNITY_EXEC_TIME_START(); - CMock_Init(); - if (TEST_PROTECT()) - { - setUp(); - func(); - } - if (TEST_PROTECT()) - { - tearDown(); - CMock_Verify(); - } - CMock_Destroy(); - UNITY_EXEC_TIME_STOP(); - UnityConcludeTest(); -} - -/*=======MAIN=====*/ -int main(void) -{ - UnityBegin("test_Schachbrett.c"); - run_test(test_Schachbrett_erstellen, "test_Schachbrett_erstellen", 12); - - return UnityEnd(); -}