diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 9599e0f..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/And b/And
deleted file mode 100644
index e69de29..0000000
diff --git a/CMakeLists.txt b/CMakeLists.txt
deleted file mode 100644
index 62043bc..0000000
--- a/CMakeLists.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-cmake_minimum_required(VERSION 3.26)
-project(arcade C)
-
-set(CMAKE_C_STANDARD 11)
-
-include_directories(src/main/c)
-include_directories(src/main/c/GameTic_Tac_Toe)
-include_directories(src/main/c/Hangman)
-include_directories(src/main/c/Minesweeper)
-include_directories(src/main/c/Pong)
-include_directories(src/main/c/Snake)
-
-add_executable(arcade
- src/main/c/GameTic_Tac_Toe/tictactoe.c
- src/main/c/GameTic_Tac_Toe/tictactoe.h
- src/main/c/Hangman/drawHangman.c
- src/main/c/Hangman/drawHangman.h
- src/main/c/Hangman/initializeHangman.c
- src/main/c/Hangman/initializeHangman.h
- src/main/c/Hangman/playHangman.c
- src/main/c/Hangman/playHangman.h
- src/main/c/Hangman/word_selector.c
- src/main/c/Hangman/word_selector.h
- src/main/c/Minesweeper/minesweeper_start.c
- src/main/c/Minesweeper/minesweeper_start.h
- src/main/c/Pong/pong.c
- src/main/c/Pong/pong.h
- src/main/c/Snake/get_character.c
- src/main/c/Snake/get_character.h
- src/main/c/Snake/snake_start.c
- src/main/c/Snake/snake_start.h
- src/main/c/main.c
- src/main/c/main.h)
diff --git a/Shell b/Shell
deleted file mode 100644
index e69de29..0000000
diff --git a/build/artifacts/release/project.out b/build/artifacts/release/project.out
deleted file mode 100755
index 2b21304..0000000
Binary files a/build/artifacts/release/project.out and /dev/null differ
diff --git a/build/release/cache/input.yml b/build/release/cache/input.yml
deleted file mode 100644
index 1bace5f..0000000
--- a/build/release/cache/input.yml
+++ /dev/null
@@ -1,276 +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: true
- :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: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor"
- :defines: []
-:cmock:
- :vendor_path: "/var/lib/gems/2.7.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: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor"
- :defines: []
-:test_runner:
- :includes: []
- :file_suffix: _runner
-:tools:
- :test_compiler:
- :executable: gcc
- :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
- :name: default_test_linker
- :stderr_redirect: :none
- :background_exec: :none
- :optional: false
- :arguments:
- - ''
- - ''
- - ''
- - '"${1}"'
- - "${5}"
- - -o "${2}"
- - ''
- - "${4}"
- - ''
- :test_file_preprocessor:
- :executable: gcc
- :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
- :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
- :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}"'
- :release_compiler:
- :executable: gcc
- :name: default_release_compiler
- :stderr_redirect: :none
- :background_exec: :none
- :optional: false
- :arguments:
- - ''
- - ''
- - -I"$": COLLECTION_PATHS_SOURCE_INCLUDE_VENDOR
- - -I"$": COLLECTION_PATHS_RELEASE_TOOLCHAIN_INCLUDE
- - "-D$": COLLECTION_DEFINES_RELEASE_AND_VENDOR
- - "-DGNU_COMPILER"
- - ''
- - -c "${1}"
- - -o "${2}"
- - "-MMD"
- - -MF "${4}"
- :release_linker:
- :executable: gcc
- :name: default_release_linker
- :stderr_redirect: :none
- :background_exec: :none
- :optional: false
- :arguments:
- - ''
- - ''
- - ''
- - '"${1}"'
- - "${5}"
- - -o "${2}"
- - ''
- - "${4}"
- - ''
-: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:
- - "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/lib/../plugins"
- :enabled:
- - stdout_pretty_tests_report
- - module_generator
- :display_raw_test_results: false
- :stdout_pretty_tests_report_path: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/lib/../plugins/stdout_pretty_tests_report"
- :module_generator_path: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/lib/../plugins/module_generator"
-: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/release/dependencies/Hallo_Welt.d b/build/release/dependencies/Hallo_Welt.d
deleted file mode 100644
index dcb5427..0000000
--- a/build/release/dependencies/Hallo_Welt.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/Hallo_Welt.o: src/Hallo_Welt.c
diff --git a/build/release/dependencies/add_student.d b/build/release/dependencies/add_student.d
deleted file mode 100644
index 6c3a255..0000000
--- a/build/release/dependencies/add_student.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/add_student.o: src/main/c/add_student.c
diff --git a/build/release/dependencies/add_subject.d b/build/release/dependencies/add_subject.d
deleted file mode 100644
index 516203f..0000000
--- a/build/release/dependencies/add_subject.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/add_subject.o: src/main/c/add_subject.c
diff --git a/build/release/dependencies/force_build b/build/release/dependencies/force_build
deleted file mode 100644
index e69de29..0000000
diff --git a/build/release/dependencies/game100.d b/build/release/dependencies/game100.d
deleted file mode 100644
index 24915ff..0000000
--- a/build/release/dependencies/game100.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/game100.o: src/main/c/Template/game100.c
diff --git a/build/release/dependencies/get_character.d b/build/release/dependencies/get_character.d
deleted file mode 100644
index ba996cf..0000000
--- a/build/release/dependencies/get_character.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/get_character.o: src/main/c/Snake/get_character.c
diff --git a/build/release/dependencies/main.d b/build/release/dependencies/main.d
deleted file mode 100644
index cab5c66..0000000
--- a/build/release/dependencies/main.d
+++ /dev/null
@@ -1,3 +0,0 @@
-build/release/out/c/main.o: src/main/c/main.c \
- src/main/c/Snake/snake_start.h \
- src/main/c/Minesweeper/minesweeper_start.h src/main/c/Pong/pong.h
diff --git a/build/release/dependencies/minesweeper_start.d b/build/release/dependencies/minesweeper_start.d
deleted file mode 100644
index 67807f6..0000000
--- a/build/release/dependencies/minesweeper_start.d
+++ /dev/null
@@ -1,3 +0,0 @@
-build/release/out/c/minesweeper_start.o: \
- src/main/c/Minesweeper/minesweeper_start.c \
- src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/release/dependencies/modify_student.d b/build/release/dependencies/modify_student.d
deleted file mode 100644
index 6e486eb..0000000
--- a/build/release/dependencies/modify_student.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/modify_student.o: src/main/c/modify_student.c
diff --git a/build/release/dependencies/modify_subject.d b/build/release/dependencies/modify_subject.d
deleted file mode 100644
index 7ca395b..0000000
--- a/build/release/dependencies/modify_subject.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/modify_subject.o: src/main/c/modify_subject.c
diff --git a/build/release/dependencies/pong.d b/build/release/dependencies/pong.d
deleted file mode 100644
index 4a40a82..0000000
--- a/build/release/dependencies/pong.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/pong.o: src/main/c/Pong/pong.c
diff --git a/build/release/dependencies/show_statistics.d b/build/release/dependencies/show_statistics.d
deleted file mode 100644
index 7c283e6..0000000
--- a/build/release/dependencies/show_statistics.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/show_statistics.o: src/main/c/show_statistics.c
diff --git a/build/release/dependencies/snake_start.d b/build/release/dependencies/snake_start.d
deleted file mode 100644
index 974ab7a..0000000
--- a/build/release/dependencies/snake_start.d
+++ /dev/null
@@ -1,2 +0,0 @@
-build/release/out/c/snake_start.o: src/main/c/Snake/snake_start.c \
- src/main/c/Snake/snake_start.h src/main/c/Snake/get_character.h
diff --git a/build/release/dependencies/testRunnerGenerator.d b/build/release/dependencies/testRunnerGenerator.d
deleted file mode 100644
index 081b804..0000000
--- a/build/release/dependencies/testRunnerGenerator.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/release/out/c/testRunnerGenerator.o: \
- src/Unity/test/testdata/testRunnerGenerator.c \
- src/Unity/test/testdata/../../src/unity.h \
- src/Unity/test/testdata/../../src/unity_internals.h \
- src/Unity/test/testdata/Defs.h
diff --git a/build/release/dependencies/testRunnerGeneratorSmall.d b/build/release/dependencies/testRunnerGeneratorSmall.d
deleted file mode 100644
index 44e26e5..0000000
--- a/build/release/dependencies/testRunnerGeneratorSmall.d
+++ /dev/null
@@ -1,3 +0,0 @@
-build/release/out/c/testRunnerGeneratorSmall.o: \
- src/Unity/test/testdata/testRunnerGeneratorSmall.c src/Unity/src/unity.h \
- src/Unity/src/unity_internals.h src/Unity/test/testdata/Defs.h
diff --git a/build/release/dependencies/testRunnerGeneratorWithMocks.d b/build/release/dependencies/testRunnerGeneratorWithMocks.d
deleted file mode 100644
index 2fad802..0000000
--- a/build/release/dependencies/testRunnerGeneratorWithMocks.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/release/out/c/testRunnerGeneratorWithMocks.o: \
- src/Unity/test/testdata/testRunnerGeneratorWithMocks.c \
- src/Unity/test/testdata/../../src/unity.h \
- src/Unity/test/testdata/../../src/unity_internals.h \
- src/Unity/test/testdata/Defs.h src/Unity/test/testdata/mockMock.h
diff --git a/build/release/dependencies/testsample_cmd.d b/build/release/dependencies/testsample_cmd.d
deleted file mode 100644
index a7578ff..0000000
--- a/build/release/dependencies/testsample_cmd.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/release/out/c/testsample_cmd.o: \
- src/Unity/test/expectdata/testsample_cmd.c \
- src/Unity/test/expectdata/../../src/unity.h \
- src/Unity/test/expectdata/../../src/unity_internals.h \
- src/Unity/test/testdata/CException.h
diff --git a/build/release/dependencies/tictactoe.d b/build/release/dependencies/tictactoe.d
deleted file mode 100644
index 3bd3806..0000000
--- a/build/release/dependencies/tictactoe.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/tictactoe.o: src/main/c/GameTic_Tac_Toe/tictactoe.c
diff --git a/build/release/dependencies/top.d b/build/release/dependencies/top.d
deleted file mode 100644
index 02e77a3..0000000
--- a/build/release/dependencies/top.d
+++ /dev/null
@@ -1 +0,0 @@
-build/release/out/c/top.o: src/main/c/Quiz/top.c
diff --git a/build/release/out/c/Hallo_Welt.o b/build/release/out/c/Hallo_Welt.o
deleted file mode 100644
index f56ef23..0000000
Binary files a/build/release/out/c/Hallo_Welt.o and /dev/null differ
diff --git a/build/release/out/c/add_student.o b/build/release/out/c/add_student.o
deleted file mode 100644
index 7bd9ffe..0000000
Binary files a/build/release/out/c/add_student.o and /dev/null differ
diff --git a/build/release/out/c/add_subject.o b/build/release/out/c/add_subject.o
deleted file mode 100644
index c22adb9..0000000
Binary files a/build/release/out/c/add_subject.o and /dev/null differ
diff --git a/build/release/out/c/game100.o b/build/release/out/c/game100.o
deleted file mode 100644
index 96df510..0000000
Binary files a/build/release/out/c/game100.o and /dev/null differ
diff --git a/build/release/out/c/get_character.o b/build/release/out/c/get_character.o
deleted file mode 100644
index 570722e..0000000
Binary files a/build/release/out/c/get_character.o and /dev/null differ
diff --git a/build/release/out/c/main.o b/build/release/out/c/main.o
deleted file mode 100644
index 17adbcd..0000000
Binary files a/build/release/out/c/main.o and /dev/null differ
diff --git a/build/release/out/c/minesweeper_start.o b/build/release/out/c/minesweeper_start.o
deleted file mode 100644
index 0218308..0000000
Binary files a/build/release/out/c/minesweeper_start.o and /dev/null differ
diff --git a/build/release/out/c/modify_student.o b/build/release/out/c/modify_student.o
deleted file mode 100644
index 651f919..0000000
Binary files a/build/release/out/c/modify_student.o and /dev/null differ
diff --git a/build/release/out/c/modify_subject.o b/build/release/out/c/modify_subject.o
deleted file mode 100644
index 1558c3e..0000000
Binary files a/build/release/out/c/modify_subject.o and /dev/null differ
diff --git a/build/release/out/c/pong.o b/build/release/out/c/pong.o
deleted file mode 100644
index 6cbb7e4..0000000
Binary files a/build/release/out/c/pong.o and /dev/null differ
diff --git a/build/release/out/c/show_statistics.o b/build/release/out/c/show_statistics.o
deleted file mode 100644
index ac9af01..0000000
Binary files a/build/release/out/c/show_statistics.o and /dev/null differ
diff --git a/build/release/out/c/snake_start.o b/build/release/out/c/snake_start.o
deleted file mode 100644
index de4954f..0000000
Binary files a/build/release/out/c/snake_start.o and /dev/null differ
diff --git a/build/release/out/c/testRunnerGenerator.o b/build/release/out/c/testRunnerGenerator.o
deleted file mode 100644
index 97013f1..0000000
Binary files a/build/release/out/c/testRunnerGenerator.o and /dev/null differ
diff --git a/build/release/out/c/testRunnerGeneratorSmall.o b/build/release/out/c/testRunnerGeneratorSmall.o
deleted file mode 100644
index af61e66..0000000
Binary files a/build/release/out/c/testRunnerGeneratorSmall.o and /dev/null differ
diff --git a/build/release/out/c/testRunnerGeneratorWithMocks.o b/build/release/out/c/testRunnerGeneratorWithMocks.o
deleted file mode 100644
index f3bc56b..0000000
Binary files a/build/release/out/c/testRunnerGeneratorWithMocks.o and /dev/null differ
diff --git a/build/release/out/c/testsample_cmd.o b/build/release/out/c/testsample_cmd.o
deleted file mode 100644
index 29949ea..0000000
Binary files a/build/release/out/c/testsample_cmd.o and /dev/null differ
diff --git a/build/release/out/c/tictactoe.o b/build/release/out/c/tictactoe.o
deleted file mode 100644
index 39f5d21..0000000
Binary files a/build/release/out/c/tictactoe.o and /dev/null differ
diff --git a/build/release/out/c/top.o b/build/release/out/c/top.o
deleted file mode 100644
index 2c44dbf..0000000
Binary files a/build/release/out/c/top.o and /dev/null differ
diff --git a/build/test/cache/defines_dependency.yml b/build/test/cache/defines_dependency.yml
index d0eaec9..49576f8 100644
--- a/build/test/cache/defines_dependency.yml
+++ b/build/test/cache/defines_dependency.yml
@@ -1,17 +1,5 @@
---
-src/main/c/Template/game100.c:
-- TEST
-<<<<<<< HEAD
src/main/c/Calculator/calculator.c:
-=======
-src/main/c/Snake/snake_start.c:
-- TEST
-src/main/c/Snake/get_character.c:
- TEST
-src/main/c/Minesweeper/minesweeper_start.c:
-- TEST
-src/main/c/GameTic_Tac_Toe/tictactoe.c:
-- TEST
-src/main/c/Pong/pong.c:
->>>>>>> 2acead7a056f156a3c7129d740f7d5585fbc805f
+src/main/c/Template/game100.c:
- TEST
diff --git a/build/test/cache/test_add.c b/build/test/cache/test_add.c
index fe4db9b..26907b6 100644
--- a/build/test/cache/test_add.c
+++ b/build/test/cache/test_add.c
@@ -1,4 +1,4 @@
-#include "build/temp/../../src/main/c/Calculator/calculator.h"
+#include "src/main/c/Template/game100.h"
#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
@@ -20,60 +20,32 @@ void tearDown(void){
-void test_pow_N_N(void){
+void test_add(void){
- double result;
+ int num1 = 10;
- double b = 3;
+ int num2 = 5;
- double a = 3;
+ int result;
+ int addition = num1 + num2;
- result = pow(a, b);
+ result = addition;
- UnityAssertEqualNumber((UNITY_INT)((27)), (UNITY_INT)((result)), (
- ((void *)0)
-
- ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_pow_Z_N(void){
-
-
-
- double result;
-
- double b = 3;
-
- double a = -3;
-
-
-
-
-
- result = pow(a, b);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-27)), (UNITY_INT)((result)), (
+ UnityAssertEqualNumber((UNITY_INT)((15)), (UNITY_INT)((result)), (
((void *)0)
- ), (UNITY_UINT)(36), UNITY_DISPLAY_STYLE_INT);
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
}
diff --git a/build/test/cache/test_bomb_in_array.c b/build/test/cache/test_bomb_in_array.c
deleted file mode 100644
index 14de752..0000000
--- a/build/test/cache/test_bomb_in_array.c
+++ /dev/null
@@ -1,79 +0,0 @@
-#include "build/temp/../../src/main/c/Minesweeper/minesweeper_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_bomb_in_array(void){
-
-
-
-
-
- _Bool
-
- result;
-
- int array[] = {5, 9, 42, 6, 87, 95, 202, 13, 45 ,78};
-
- int bomb = 42;
-
- int length = 10;
-
-
-
-
-
- result = array_contains_value(array, bomb, length);
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(22)));}} while(0);
-
-}
-
-
-
-
-
-void test_bomb_not_in_array(void){
-
-
-
-
-
- _Bool
-
- result;
-
- int array[] = {5, 9, 42, 6, 87, 95, 202, 13, 45 ,78};
-
- int bomb = 0;
-
- int length = 10;
-
-
-
-
-
- result = array_contains_value(array, bomb, length);
-
-
-
-
-
- do {if (!(result)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(37)));}} while(0);
-
-}
diff --git a/build/test/cache/test_cbrt.c b/build/test/cache/test_cbrt.c
new file mode 100644
index 0000000..c7daba2
--- /dev/null
+++ b/build/test/cache/test_cbrt.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_cbrt(void){
+
+
+
+ double result;
+
+ double a = 4;
+
+
+
+
+
+ result = cbrt(4);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1.587401052)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_ceil.c b/build/test/cache/test_ceil.c
new file mode 100644
index 0000000..2fb1b1c
--- /dev/null
+++ b/build/test/cache/test_ceil.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_ceil(void){
+
+
+
+int result;
+
+double a =2.34;
+
+
+
+
+
+
+
+result = ceil(a);
+
+
+
+
+
+UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result)), (
+
+((void *)0)
+
+), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_checkCollision.c b/build/test/cache/test_checkCollision.c
deleted file mode 100644
index 79e7083..0000000
--- a/build/test/cache/test_checkCollision.c
+++ /dev/null
@@ -1,143 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-
-
-typedef struct {
-
- int x;
-
- int y;
-
- int speedX;
-
- int speedY;
-
-} Ball;
-
-
-
-typedef struct {
-
- int x;
-
- int y;
-
- int width;
-
- int height;
-
-} Paddle;
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_checkCollision(void){
-
- Ball ball = {10, 10, 1, 1};
-
- Paddle paddle = {50, 10, 5, 10};
-
-
-
-
-
- ball.x = 0;
-
- int result1 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result1)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(35), UNITY_DISPLAY_STYLE_INT);
-
-
-
- ball.x = 40 - 1;
-
- int result2 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result2)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(39), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- ball.x = 5;
-
- ball.y = 0;
-
- int result3 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result3)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(45), UNITY_DISPLAY_STYLE_INT);
-
-
-
- ball.y = 20 - 1;
-
- int result4 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result4)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(49), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- ball.x = paddle.x - 1;
-
- ball.y = paddle.y + 1;
-
- int result5 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result5)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(55), UNITY_DISPLAY_STYLE_INT);
-
-
-
- ball.x = paddle.x + 1;
-
- ball.y = paddle.y + 1;
-
- int result6 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result6)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(60), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/cache/test_checkGameEnd.c b/build/test/cache/test_checkGameEnd.c
deleted file mode 100644
index 3c0d662..0000000
--- a/build/test/cache/test_checkGameEnd.c
+++ /dev/null
@@ -1,69 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_checkGameEnd(void){
-
-
-
- int maxScore = 5;
-
- int score1 = 4, score2 = 2;
-
-
-
-
-
- int result = checkGameEnd(score1, score2, maxScore);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- score1 = 5;
-
- result = checkGameEnd(score1, score2, maxScore);
-
- UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(28), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
-
-
-}
diff --git a/build/test/cache/test_clearScreen.c b/build/test/cache/test_clearScreen.c
deleted file mode 100644
index 74ec6bf..0000000
--- a/build/test/cache/test_clearScreen.c
+++ /dev/null
@@ -1,73 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-
-
-
-
-char screen[20][40 +1];
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_clearScreen(void){
-
-
-
- int i, j;
-
- for (i = 0; i < 20; i++) {
-
- for (j = 0; j < 40; j++) {
-
- screen[i][j] = ' ';
-
- }
-
- screen[i][j] = '\0';
-
- }
-
-
-
-
-
- clearScreen();
-
-
-
-
-
- for (i = 0; i < 20; i++) {
-
- for (j = 0; j < 40; j++) {
-
- UnityAssertEqualNumber((UNITY_INT)((' ')), (UNITY_INT)((screen[i][j])), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
-
- }
-
- }
-
-}
diff --git a/build/test/cache/test_collision.c b/build/test/cache/test_collision.c
deleted file mode 100644
index a159403..0000000
--- a/build/test/cache/test_collision.c
+++ /dev/null
@@ -1,102 +0,0 @@
-#include "src/main/c/Snake/get_character.h"
-#include "src/main/c/Snake/snake_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_self_collision(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {1, 5, {6 + 16 * 6, 6 + 16 * 7, 7 + 16 * 7, 7 + 16 * 6, 6 + 16 * 6}};
-
-
-
-
-
- result = check_if_dead(&snake);
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(21)));}} while(0);
-
-}
-
-
-
-
-
-void test_no_collision(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = check_if_dead(&snake);
-
-
-
-
-
- do {if (!(result)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(34)));}} while(0);
-
-}
-
-
-
-
-
-void test_wall_collision(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {-1, 4, {0 + 16 * 6, 1 + 16 * 6, 2 + 16 * 6, 3 + 16 * 6}};
-
-
-
-
-
- result = check_if_dead(&snake);
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(47)));}} while(0);
-
-}
diff --git a/build/test/cache/test_divide.c b/build/test/cache/test_divide.c
new file mode 100644
index 0000000..3763fc5
--- /dev/null
+++ b/build/test/cache/test_divide.c
@@ -0,0 +1,51 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_divide(void){
+
+
+
+ double num1 = 9;
+
+ double num2 = 3;
+
+ double division = num1 / num2;
+
+ double result;
+
+
+
+
+
+ result = division;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((3)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_exp.c b/build/test/cache/test_exp.c
new file mode 100644
index 0000000..9186a3b
--- /dev/null
+++ b/build/test/cache/test_exp.c
@@ -0,0 +1,35 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+
+
+
+
+ void test_exp(void) {
+
+
+
+ double result;
+
+ double a =1;
+
+ double exponent = exp(a);
+
+
+
+ result = exponent;
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(16), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_exp2.c b/build/test/cache/test_exp2.c
new file mode 100644
index 0000000..d2d8c6e
--- /dev/null
+++ b/build/test/cache/test_exp2.c
@@ -0,0 +1,51 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_fmin(void){
+
+
+
+ double num1 =1;
+
+ double num2 = 8;
+
+ double result;
+
+ double min = fmin(1,8);
+
+
+
+
+
+ result = min;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/cache/test_floor.c b/build/test/cache/test_floor.c
new file mode 100644
index 0000000..3c3b6e9
--- /dev/null
+++ b/build/test/cache/test_floor.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_floor(void){
+
+
+
+ double result;
+
+ double num1 = 7.12;
+
+
+
+
+
+ result = floor(num1);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((7)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/cache/test_fmax.c b/build/test/cache/test_fmax.c
new file mode 100644
index 0000000..9c346ec
--- /dev/null
+++ b/build/test/cache/test_fmax.c
@@ -0,0 +1,35 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+ void test_fmax(void){
+
+
+
+ double result;
+
+ double num1;
+
+ double num2;
+
+ double max = fmax(14.4,3.4);
+
+
+
+
+
+ result = max;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((14.4)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(25), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/cache/test_fmin.c b/build/test/cache/test_fmin.c
new file mode 100644
index 0000000..0e24187
--- /dev/null
+++ b/build/test/cache/test_fmin.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_fmin(void){
+
+
+
+ double num1;
+
+ double num2;
+
+ double result = fmin(1,16);
+
+
+
+
+
+ return result;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/cache/test_is_Valid_tile.c b/build/test/cache/test_is_Valid_tile.c
deleted file mode 100644
index 5911aa4..0000000
--- a/build/test/cache/test_is_Valid_tile.c
+++ /dev/null
@@ -1,269 +0,0 @@
-#include "build/temp/../../src/main/c/Minesweeper/minesweeper_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_detect_not_valid_tile_left(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 2;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_not_valid_tile_up(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 3;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(35), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_not_valid_tile_right(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 5;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(49), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_not_valid_tile_down(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 4;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(63), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_left(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 2;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((board.width * board.height - 2)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(77), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_up(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 3;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((board.width * (board.height - 1) - 1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(91), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_right(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 5;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(105), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_down(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 4;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0 + board.width)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(119), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/cache/test_log.c b/build/test/cache/test_log.c
new file mode 100644
index 0000000..e09d97d
--- /dev/null
+++ b/build/test/cache/test_log.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_log(void){
+
+
+
+ double result;
+
+ double a=4;
+
+
+
+
+
+ result = log(a);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((4)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_log10.c b/build/test/cache/test_log10.c
new file mode 100644
index 0000000..155f9ee
--- /dev/null
+++ b/build/test/cache/test_log10.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_log10(void){
+
+
+
+ double result;
+
+ double a = 20;
+
+ result = log10(a);
+
+
+
+
+
+ return result;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((20)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_mod.c b/build/test/cache/test_mod.c
new file mode 100644
index 0000000..a31e4eb
--- /dev/null
+++ b/build/test/cache/test_mod.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_mod(void){
+
+
+
+ int result;
+
+
+
+
+
+
+
+ result = mod(10, 5);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_moving_snake.c b/build/test/cache/test_moving_snake.c
deleted file mode 100644
index b305c52..0000000
--- a/build/test/cache/test_moving_snake.c
+++ /dev/null
@@ -1,142 +0,0 @@
-#include "build/temp/../../src/main/c/Snake/get_character.h"
-#include "build/temp/../../src/main/c/Snake/snake_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_moving_right(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {1, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {1, 3, {9 + 16 * 6, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(24)));}} while(0);
-
-}
-
-
-
-void test_moving_down(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {16, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {16, 3, {8 + 16 * 7, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(38)));}} while(0);
-
-}
-
-
-
-void test_moving_left(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {-1, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {-1, 3, {7 + 16 * 6, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(52)));}} while(0);
-
-}
-
-
-
-void test_moving_up(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {-16, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {-16, 3, {8 + 16 * 5, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(66)));}} while(0);
-
-}
diff --git a/build/test/cache/test_multiply.c b/build/test/cache/test_multiply.c
new file mode 100644
index 0000000..817c4c7
--- /dev/null
+++ b/build/test/cache/test_multiply.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Template/game100.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_mulitply(void){
+
+
+
+ int num1=5;
+
+ int num2=5;
+
+ int product = num1 * num2;
+
+
+
+ int result = product;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((25)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_number_of_bombs.c b/build/test/cache/test_number_of_bombs.c
deleted file mode 100644
index 9b1981f..0000000
--- a/build/test/cache/test_number_of_bombs.c
+++ /dev/null
@@ -1,205 +0,0 @@
-#include "build/temp/../../src/main/c/Minesweeper/minesweeper_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_no_bombs_placed_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0 + board.width * 1;
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_searching_for_bombs_on_correct_tiles(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0 + board.width * 1;
-
- board.bombs[0] = 0 + board.width * 3;
-
- board.bombs[1] = 2 + board.width * 1;
-
- board.bombs[2] = board.width - 1 + board.width * 1;
-
- board.bombs[3] = 0 + board.width * (board.height - 1);
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(38), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_2_bombs_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0 + board.width * 1;
-
- board.bombs[0] = 0 + board.width * 2;
-
- board.bombs[1] = 1 + board.width * 1;
-
- board.bombs[2] = board.width - 1 + board.width * 1;
-
- board.bombs[3] = 0 + board.width * (board.height - 1);
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(55), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_5_bombs_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 1 + board.width * 0;
-
- board.bombs[0] = 0 + board.width * 0;
-
- board.bombs[1] = 2 + board.width * 0;
-
- board.bombs[2] = 0 + board.width * 1;
-
- board.bombs[3] = 1 + board.width * 1;
-
- board.bombs[4] = 2 + board.width * 1;
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(73), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_8_bombs_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 7 + board.width * 7;
-
- board.bombs[0] = 6 + board.width * 6;
-
- board.bombs[1] = 7 + board.width * 6;
-
- board.bombs[2] = 8 + board.width * 6;
-
- board.bombs[3] = 6 + board.width * 7;
-
- board.bombs[4] = 8 + board.width * 7;
-
- board.bombs[5] = 6 + board.width * 8;
-
- board.bombs[6] = 7 + board.width * 8;
-
- board.bombs[7] = 8 + board.width * 8;
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((8)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(94), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/cache/test_part_of_snake.c b/build/test/cache/test_part_of_snake.c
deleted file mode 100644
index b488cb0..0000000
--- a/build/test/cache/test_part_of_snake.c
+++ /dev/null
@@ -1,102 +0,0 @@
-#include "build/temp/../../src/main/c/Snake/get_character.h"
-#include "build/temp/../../src/main/c/Snake/snake_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_find_head(void){
-
-
-
- int result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = part_of_snake(&snake, 8 * 16 + 8);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(20), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-
-
-void test_get_correct_index(void){
-
-
-
- int result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = part_of_snake(&snake, 8 * 16 + 6);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-
-
-void test_snake_not_on_tile(void){
-
-
-
- int result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = part_of_snake(&snake, 6 * 16 + 6);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(46), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/cache/test_playerInputMovement.c b/build/test/cache/test_playerInputMovement.c
deleted file mode 100644
index d38ca76..0000000
--- a/build/test/cache/test_playerInputMovement.c
+++ /dev/null
@@ -1,83 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-typedef struct {
-
- int x;
-
- int y;
-
- int speedX;
-
- int speedY;
-
-} Paddle;
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_playerInputMovement(void){
-
-
-
- int paddlePositionY = 10;
-
- int userInput = -1;
-
- int expectedY = paddlePositionY - 1;
-
-
-
- processPlayerInput(&paddlePositionY, userInput);
-
- UnityAssertEqualNumber((UNITY_INT)((expectedY)), (UNITY_INT)((paddlePositionY)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(27), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- userInput = 1;
-
- expectedY = paddlePositionY + 1;
-
-
-
-
-
- processPlayerInput(&paddlePositionY, userInput);
-
- UnityAssertEqualNumber((UNITY_INT)((expectedY)), (UNITY_INT)((paddlePositionY)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(35), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
-
-
-}
diff --git a/build/test/cache/test_pong.c b/build/test/cache/test_pong.c
deleted file mode 100644
index 7e1dfbf..0000000
--- a/build/test/cache/test_pong.c
+++ /dev/null
@@ -1,51 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-void tearDown(void){
-
-}
-
-
-
-
-
-void test_input_all_5(void){
-
-
-
- int a = 4, b = 5;
-
-
-
-
-
- resetScore( &a, &b );
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((a)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((b)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/cache/test_round.c b/build/test/cache/test_round.c
new file mode 100644
index 0000000..918ee70
--- /dev/null
+++ b/build/test/cache/test_round.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_round(void){
+
+
+
+ double num1= 3.7;
+
+ double result;
+
+ double rounding = round(num1);
+
+
+
+
+
+ result = rounding;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((3)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/cache/test_sin.c b/build/test/cache/test_sin.c
new file mode 100644
index 0000000..7e09eae
--- /dev/null
+++ b/build/test/cache/test_sin.c
@@ -0,0 +1,53 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_sin(void){
+
+
+
+ double num1=20;
+
+ double result;
+
+ double sine = num1 *
+
+ 3.14159265358979323846
+
+ /180.0;
+
+
+
+
+
+ result = sine;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((0.34)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/cache/test_sqrt.c b/build/test/cache/test_sqrt.c
new file mode 100644
index 0000000..10dde0b
--- /dev/null
+++ b/build/test/cache/test_sqrt.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_sqrt(void){
+
+
+
+ double result;
+
+ int a = 25;
+
+
+
+
+
+ result = sqrt(25);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_subtract.c b/build/test/cache/test_subtract.c
new file mode 100644
index 0000000..a44beb1
--- /dev/null
+++ b/build/test/cache/test_subtract.c
@@ -0,0 +1,51 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_subtract(void){
+
+
+
+ int num1 = 14;
+
+ int num2 = 7;
+
+ int result;
+
+ int subtraction = num1 - num2;
+
+
+
+
+
+ result = subtraction;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((7)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/cache/test_template.c b/build/test/cache/test_template.c
deleted file mode 100644
index 0380b7b..0000000
--- a/build/test/cache/test_template.c
+++ /dev/null
@@ -1,73 +0,0 @@
-#include "src/main/c/Template/game100.h"
-#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-void tearDown(void){
-
-}
-
-
-
-
-
-void test_input_all_5(void){
-
-
-
- int result;
-
-
-
-
-
- result = some_function(5, 5);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((6)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-
-
-void test_ignore_rest_from_division(void){
-
-
-
- int result;
-
-
-
-
-
- result = some_function(5, 6);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/cache/test_tictactoe.c b/build/test/cache/test_tictactoe.c
deleted file mode 100644
index e69de29..0000000
diff --git a/build/test/dependencies/cmock.d b/build/test/dependencies/cmock.d
index 82b64c9..7d1cf5d 100644
--- a/build/test/dependencies/cmock.d
+++ b/build/test/dependencies/cmock.d
@@ -1,6 +1,6 @@
build/test/out/c/cmock.o: \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock_internals.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
+ /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
diff --git a/build/test/dependencies/force_build b/build/test/dependencies/force_build
deleted file mode 100644
index e69de29..0000000
diff --git a/build/test/dependencies/get_character.d b/build/test/dependencies/get_character.d
deleted file mode 100644
index 8f17ec7..0000000
--- a/build/test/dependencies/get_character.d
+++ /dev/null
@@ -1 +0,0 @@
-build/test/out/c/get_character.o: src/main/c/Snake/get_character.c
diff --git a/build/test/dependencies/minesweeper_start.d b/build/test/dependencies/minesweeper_start.d
deleted file mode 100644
index fd6546c..0000000
--- a/build/test/dependencies/minesweeper_start.d
+++ /dev/null
@@ -1,3 +0,0 @@
-build/test/out/c/minesweeper_start.o: \
- src/main/c/Minesweeper/minesweeper_start.c \
- src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/test/dependencies/pong.d b/build/test/dependencies/pong.d
deleted file mode 100644
index 9bafeb3..0000000
--- a/build/test/dependencies/pong.d
+++ /dev/null
@@ -1 +0,0 @@
-build/test/out/c/pong.o: src/main/c/Pong/pong.c
diff --git a/build/test/dependencies/snake_start.d b/build/test/dependencies/snake_start.d
deleted file mode 100644
index 6c435ce..0000000
--- a/build/test/dependencies/snake_start.d
+++ /dev/null
@@ -1,2 +0,0 @@
-build/test/out/c/snake_start.o: src/main/c/Snake/snake_start.c \
- src/main/c/Snake/snake_start.h src/main/c/Snake/get_character.h
diff --git a/build/test/dependencies/test_add.d b/build/test/dependencies/test_add.d
index 2d698f4..4a84e70 100644
--- a/build/test/dependencies/test_add.d
+++ b/build/test/dependencies/test_add.d
@@ -1,4 +1,4 @@
build/test/out/c/test_add.o: test/Calculator/test_add.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 \
- test/Calculator/../../src/main/c/Calculator/calculator.h
+ src/main/c/Template/game100.h
diff --git a/build/test/dependencies/test_bomb_in_array.d b/build/test/dependencies/test_bomb_in_array.d
deleted file mode 100644
index 994afc1..0000000
--- a/build/test/dependencies/test_bomb_in_array.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/test/out/c/test_bomb_in_array.o: \
- test/Minesweeper/test_bomb_in_array.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- test/Minesweeper/../../src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/test/dependencies/test_bomb_in_array_runner.d b/build/test/dependencies/test_bomb_in_array_runner.d
deleted file mode 100644
index 53b6683..0000000
--- a/build/test/dependencies/test_bomb_in_array_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_bomb_in_array_runner.o: \
- build/test/runners/test_bomb_in_array_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_cbrt.d b/build/test/dependencies/test_cbrt.d
new file mode 100644
index 0000000..e0d7702
--- /dev/null
+++ b/build/test/dependencies/test_cbrt.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_cbrt.o: test/Calculator/test_cbrt.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_template_runner.d b/build/test/dependencies/test_cbrt_runner.d
similarity index 62%
rename from build/test/dependencies/test_template_runner.d
rename to build/test/dependencies/test_cbrt_runner.d
index 8073f33..85b6e36 100644
--- a/build/test/dependencies/test_template_runner.d
+++ b/build/test/dependencies/test_cbrt_runner.d
@@ -1,4 +1,4 @@
-build/test/out/c/test_template_runner.o: \
- build/test/runners/test_template_runner.c \
+build/test/out/c/test_cbrt_runner.o: \
+ build/test/runners/test_cbrt_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
diff --git a/build/test/dependencies/test_ceil.d b/build/test/dependencies/test_ceil.d
new file mode 100644
index 0000000..6f1cf77
--- /dev/null
+++ b/build/test/dependencies/test_ceil.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_ceil.o: test/Calculator/test_ceil.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_ceil_runner.d b/build/test/dependencies/test_ceil_runner.d
new file mode 100644
index 0000000..f737952
--- /dev/null
+++ b/build/test/dependencies/test_ceil_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_ceil_runner.o: \
+ build/test/runners/test_ceil_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
diff --git a/build/test/dependencies/test_checkCollision.d b/build/test/dependencies/test_checkCollision.d
deleted file mode 100644
index 598f40e..0000000
--- a/build/test/dependencies/test_checkCollision.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_checkCollision.o: test/Pong/test_checkCollision.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- src/main/c/Pong/pong.h
diff --git a/build/test/dependencies/test_checkCollision_runner.d b/build/test/dependencies/test_checkCollision_runner.d
deleted file mode 100644
index 8caa0f9..0000000
--- a/build/test/dependencies/test_checkCollision_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_checkCollision_runner.o: \
- build/test/runners/test_checkCollision_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_checkGameEnd.d b/build/test/dependencies/test_checkGameEnd.d
deleted file mode 100644
index 0d4bf78..0000000
--- a/build/test/dependencies/test_checkGameEnd.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_checkGameEnd.o: test/Pong/test_checkGameEnd.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- src/main/c/Pong/pong.h
diff --git a/build/test/dependencies/test_checkGameEnd_runner.d b/build/test/dependencies/test_checkGameEnd_runner.d
deleted file mode 100644
index 74bebf4..0000000
--- a/build/test/dependencies/test_checkGameEnd_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_checkGameEnd_runner.o: \
- build/test/runners/test_checkGameEnd_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_clearScreen.d b/build/test/dependencies/test_clearScreen.d
deleted file mode 100644
index 7f5431c..0000000
--- a/build/test/dependencies/test_clearScreen.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_clearScreen.o: test/Pong/test_clearScreen.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- src/main/c/Pong/pong.h
diff --git a/build/test/dependencies/test_clearScreen_runner.d b/build/test/dependencies/test_clearScreen_runner.d
deleted file mode 100644
index 0f74b3c..0000000
--- a/build/test/dependencies/test_clearScreen_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_clearScreen_runner.o: \
- build/test/runners/test_clearScreen_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_collision.d b/build/test/dependencies/test_collision.d
deleted file mode 100644
index ad5e8d5..0000000
--- a/build/test/dependencies/test_collision.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_collision.o: test/Snake/test_collision.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- src/main/c/Snake/snake_start.h src/main/c/Snake/get_character.h
diff --git a/build/test/dependencies/test_collision_runner.d b/build/test/dependencies/test_collision_runner.d
deleted file mode 100644
index 279686d..0000000
--- a/build/test/dependencies/test_collision_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_collision_runner.o: \
- build/test/runners/test_collision_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_divide.d b/build/test/dependencies/test_divide.d
new file mode 100644
index 0000000..172e1ec
--- /dev/null
+++ b/build/test/dependencies/test_divide.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_divide.o: test/Calculator/test_divide.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_divide_runner.d b/build/test/dependencies/test_divide_runner.d
new file mode 100644
index 0000000..b42c847
--- /dev/null
+++ b/build/test/dependencies/test_divide_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_divide_runner.o: \
+ build/test/runners/test_divide_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
diff --git a/build/test/dependencies/test_exp.d b/build/test/dependencies/test_exp.d
new file mode 100644
index 0000000..f128702
--- /dev/null
+++ b/build/test/dependencies/test_exp.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_exp.o: test/Calculator/test_exp.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_exp2.d b/build/test/dependencies/test_exp2.d
new file mode 100644
index 0000000..c1106c6
--- /dev/null
+++ b/build/test/dependencies/test_exp2.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_exp2.o: test/Calculator/test_exp2.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_exp2_runner.d b/build/test/dependencies/test_exp2_runner.d
new file mode 100644
index 0000000..898af76
--- /dev/null
+++ b/build/test/dependencies/test_exp2_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_exp2_runner.o: \
+ build/test/runners/test_exp2_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
diff --git a/build/test/dependencies/test_exp_runner.d b/build/test/dependencies/test_exp_runner.d
new file mode 100644
index 0000000..b2a46b6
--- /dev/null
+++ b/build/test/dependencies/test_exp_runner.d
@@ -0,0 +1,3 @@
+build/test/out/c/test_exp_runner.o: build/test/runners/test_exp_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
diff --git a/build/test/dependencies/test_floor.d b/build/test/dependencies/test_floor.d
new file mode 100644
index 0000000..527d3df
--- /dev/null
+++ b/build/test/dependencies/test_floor.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_floor.o: test/Calculator/test_floor.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_floor_runner.d b/build/test/dependencies/test_floor_runner.d
new file mode 100644
index 0000000..8f9feeb
--- /dev/null
+++ b/build/test/dependencies/test_floor_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_floor_runner.o: \
+ build/test/runners/test_floor_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
diff --git a/build/test/dependencies/test_fmax.d b/build/test/dependencies/test_fmax.d
new file mode 100644
index 0000000..0752914
--- /dev/null
+++ b/build/test/dependencies/test_fmax.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_fmax.o: test/Calculator/test_fmax.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_fmax_runner.d b/build/test/dependencies/test_fmax_runner.d
new file mode 100644
index 0000000..4fa6acb
--- /dev/null
+++ b/build/test/dependencies/test_fmax_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_fmax_runner.o: \
+ build/test/runners/test_fmax_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
diff --git a/build/test/dependencies/test_fmin.d b/build/test/dependencies/test_fmin.d
new file mode 100644
index 0000000..b8dafae
--- /dev/null
+++ b/build/test/dependencies/test_fmin.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_fmin.o: test/Calculator/test_fmin.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_fmin_runner.d b/build/test/dependencies/test_fmin_runner.d
new file mode 100644
index 0000000..e674172
--- /dev/null
+++ b/build/test/dependencies/test_fmin_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_fmin_runner.o: \
+ build/test/runners/test_fmin_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
diff --git a/build/test/dependencies/test_is_Valid_tile.d b/build/test/dependencies/test_is_Valid_tile.d
deleted file mode 100644
index 3c1a8bf..0000000
--- a/build/test/dependencies/test_is_Valid_tile.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/test/out/c/test_is_Valid_tile.o: \
- test/Minesweeper/test_is_Valid_tile.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- test/Minesweeper/../../src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/test/dependencies/test_is_Valid_tile_runner.d b/build/test/dependencies/test_is_Valid_tile_runner.d
deleted file mode 100644
index fbecf92..0000000
--- a/build/test/dependencies/test_is_Valid_tile_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_is_Valid_tile_runner.o: \
- build/test/runners/test_is_Valid_tile_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_log.d b/build/test/dependencies/test_log.d
new file mode 100644
index 0000000..9c71ca1
--- /dev/null
+++ b/build/test/dependencies/test_log.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_log.o: test/Calculator/test_log.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_log10.d b/build/test/dependencies/test_log10.d
new file mode 100644
index 0000000..96d9b2d
--- /dev/null
+++ b/build/test/dependencies/test_log10.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_log10.o: test/Calculator/test_log10.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_log10_runner.d b/build/test/dependencies/test_log10_runner.d
new file mode 100644
index 0000000..3026dc5
--- /dev/null
+++ b/build/test/dependencies/test_log10_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_log10_runner.o: \
+ build/test/runners/test_log10_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
diff --git a/build/test/dependencies/test_log_runner.d b/build/test/dependencies/test_log_runner.d
new file mode 100644
index 0000000..f6e9b8a
--- /dev/null
+++ b/build/test/dependencies/test_log_runner.d
@@ -0,0 +1,3 @@
+build/test/out/c/test_log_runner.o: build/test/runners/test_log_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
diff --git a/build/test/dependencies/test_mod.d b/build/test/dependencies/test_mod.d
new file mode 100644
index 0000000..66da587
--- /dev/null
+++ b/build/test/dependencies/test_mod.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_mod.o: test/Calculator/test_mod.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_mod_runner.d b/build/test/dependencies/test_mod_runner.d
new file mode 100644
index 0000000..2281947
--- /dev/null
+++ b/build/test/dependencies/test_mod_runner.d
@@ -0,0 +1,3 @@
+build/test/out/c/test_mod_runner.o: build/test/runners/test_mod_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
diff --git a/build/test/dependencies/test_moving_snake.d b/build/test/dependencies/test_moving_snake.d
deleted file mode 100644
index 0b892ff..0000000
--- a/build/test/dependencies/test_moving_snake.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/test/out/c/test_moving_snake.o: test/Snake/test_moving_snake.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- test/Snake/../../src/main/c/Snake/snake_start.h \
- test/Snake/../../src/main/c/Snake/get_character.h
diff --git a/build/test/dependencies/test_moving_snake_runner.d b/build/test/dependencies/test_moving_snake_runner.d
deleted file mode 100644
index ce8f9f0..0000000
--- a/build/test/dependencies/test_moving_snake_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_moving_snake_runner.o: \
- build/test/runners/test_moving_snake_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_multiply.d b/build/test/dependencies/test_multiply.d
new file mode 100644
index 0000000..6af8f63
--- /dev/null
+++ b/build/test/dependencies/test_multiply.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_multiply.o: test/Calculator/test_multiply.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 \
+ src/main/c/Template/game100.h
diff --git a/build/test/dependencies/test_multiply_runner.d b/build/test/dependencies/test_multiply_runner.d
new file mode 100644
index 0000000..38d0719
--- /dev/null
+++ b/build/test/dependencies/test_multiply_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_multiply_runner.o: \
+ build/test/runners/test_multiply_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
diff --git a/build/test/dependencies/test_number_of_bombs.d b/build/test/dependencies/test_number_of_bombs.d
deleted file mode 100644
index f46f914..0000000
--- a/build/test/dependencies/test_number_of_bombs.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/test/out/c/test_number_of_bombs.o: \
- test/Minesweeper/test_number_of_bombs.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- test/Minesweeper/../../src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/test/dependencies/test_number_of_bombs_runner.d b/build/test/dependencies/test_number_of_bombs_runner.d
deleted file mode 100644
index d910d9b..0000000
--- a/build/test/dependencies/test_number_of_bombs_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_number_of_bombs_runner.o: \
- build/test/runners/test_number_of_bombs_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_part_of_snake.d b/build/test/dependencies/test_part_of_snake.d
deleted file mode 100644
index 6dec8fd..0000000
--- a/build/test/dependencies/test_part_of_snake.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/test/out/c/test_part_of_snake.o: test/Snake/test_part_of_snake.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- test/Snake/../../src/main/c/Snake/snake_start.h \
- test/Snake/../../src/main/c/Snake/get_character.h
diff --git a/build/test/dependencies/test_part_of_snake_runner.d b/build/test/dependencies/test_part_of_snake_runner.d
deleted file mode 100644
index 3f37e86..0000000
--- a/build/test/dependencies/test_part_of_snake_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_part_of_snake_runner.o: \
- build/test/runners/test_part_of_snake_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_playerInputMovement.d b/build/test/dependencies/test_playerInputMovement.d
deleted file mode 100644
index a22d018..0000000
--- a/build/test/dependencies/test_playerInputMovement.d
+++ /dev/null
@@ -1,5 +0,0 @@
-build/test/out/c/test_playerInputMovement.o: \
- test/Pong/test_playerInputMovement.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- src/main/c/Pong/pong.h
diff --git a/build/test/dependencies/test_playerInputMovement_runner.d b/build/test/dependencies/test_playerInputMovement_runner.d
deleted file mode 100644
index c2f9cb9..0000000
--- a/build/test/dependencies/test_playerInputMovement_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_playerInputMovement_runner.o: \
- build/test/runners/test_playerInputMovement_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_pong.d b/build/test/dependencies/test_pong.d
deleted file mode 100644
index de38849..0000000
--- a/build/test/dependencies/test_pong.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_pong.o: test/Pong/test_pong.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- src/main/c/Pong/pong.h
diff --git a/build/test/dependencies/test_pong_runner.d b/build/test/dependencies/test_pong_runner.d
deleted file mode 100644
index ae30bd9..0000000
--- a/build/test/dependencies/test_pong_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_pong_runner.o: \
- build/test/runners/test_pong_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h
diff --git a/build/test/dependencies/test_round.d b/build/test/dependencies/test_round.d
new file mode 100644
index 0000000..de6cec9
--- /dev/null
+++ b/build/test/dependencies/test_round.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_round.o: test/Calculator/test_round.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_round_runner.d b/build/test/dependencies/test_round_runner.d
new file mode 100644
index 0000000..0cf862c
--- /dev/null
+++ b/build/test/dependencies/test_round_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_round_runner.o: \
+ build/test/runners/test_round_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
diff --git a/build/test/dependencies/test_sin.d b/build/test/dependencies/test_sin.d
new file mode 100644
index 0000000..274ce9c
--- /dev/null
+++ b/build/test/dependencies/test_sin.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_sin.o: test/Calculator/test_sin.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_sin_runner.d b/build/test/dependencies/test_sin_runner.d
new file mode 100644
index 0000000..e4b2277
--- /dev/null
+++ b/build/test/dependencies/test_sin_runner.d
@@ -0,0 +1,3 @@
+build/test/out/c/test_sin_runner.o: build/test/runners/test_sin_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
diff --git a/build/test/dependencies/test_sqrt.d b/build/test/dependencies/test_sqrt.d
new file mode 100644
index 0000000..dd1c1a5
--- /dev/null
+++ b/build/test/dependencies/test_sqrt.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_sqrt.o: test/Calculator/test_sqrt.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_sqrt_runner.d b/build/test/dependencies/test_sqrt_runner.d
new file mode 100644
index 0000000..03a1b1d
--- /dev/null
+++ b/build/test/dependencies/test_sqrt_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_sqrt_runner.o: \
+ build/test/runners/test_sqrt_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
diff --git a/build/test/dependencies/test_subtract.d b/build/test/dependencies/test_subtract.d
new file mode 100644
index 0000000..e479202
--- /dev/null
+++ b/build/test/dependencies/test_subtract.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_subtract.o: test/Calculator/test_subtract.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 \
+ src/main/c/Calculator/calculator.h
diff --git a/build/test/dependencies/test_subtract_runner.d b/build/test/dependencies/test_subtract_runner.d
new file mode 100644
index 0000000..a980be6
--- /dev/null
+++ b/build/test/dependencies/test_subtract_runner.d
@@ -0,0 +1,4 @@
+build/test/out/c/test_subtract_runner.o: \
+ build/test/runners/test_subtract_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
diff --git a/build/test/dependencies/test_template.d b/build/test/dependencies/test_template.d
deleted file mode 100644
index a0df7d1..0000000
--- a/build/test/dependencies/test_template.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_template.o: test/test_template.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \
- src/main/c/Template/game100.h
diff --git a/build/test/dependencies/test_tictactoe.d b/build/test/dependencies/test_tictactoe.d
deleted file mode 100644
index f4ff40e..0000000
--- a/build/test/dependencies/test_tictactoe.d
+++ /dev/null
@@ -1 +0,0 @@
-build/test/out/c/test_tictactoe.o: test/test_tictactoe.c
diff --git a/build/test/dependencies/test_tictactoe_runner.d b/build/test/dependencies/test_tictactoe_runner.d
deleted file mode 100644
index fa84889..0000000
--- a/build/test/dependencies/test_tictactoe_runner.d
+++ /dev/null
@@ -1,4 +0,0 @@
-build/test/out/c/test_tictactoe_runner.o: \
- build/test/runners/test_tictactoe_runner.c \
- /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \
- /var/lib/gems/2.7.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
index 770a033..e42504d 100644
--- a/build/test/dependencies/unity.d
+++ b/build/test/dependencies/unity.d
@@ -1,2 +1,4 @@
-build/test/out/c/unity.o: src/Unity/src/unity.c src/Unity/src/unity.h \
- src/Unity/src/unity_internals.h
+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
diff --git a/build/test/out/c/calculator.o b/build/test/out/c/calculator.o
index b3aa454..ca1b284 100644
Binary files a/build/test/out/c/calculator.o and b/build/test/out/c/calculator.o differ
diff --git a/build/test/out/c/cmock.o b/build/test/out/c/cmock.o
index 93e6055..d47ec8e 100644
Binary files a/build/test/out/c/cmock.o and b/build/test/out/c/cmock.o differ
diff --git a/build/test/out/c/game100.o b/build/test/out/c/game100.o
index 5a781d8..e5e9330 100644
Binary files a/build/test/out/c/game100.o and b/build/test/out/c/game100.o differ
diff --git a/build/test/out/c/get_character.o b/build/test/out/c/get_character.o
deleted file mode 100644
index 1b8ddf9..0000000
Binary files a/build/test/out/c/get_character.o and /dev/null differ
diff --git a/build/test/out/c/minesweeper_start.o b/build/test/out/c/minesweeper_start.o
deleted file mode 100644
index 10c6f27..0000000
Binary files a/build/test/out/c/minesweeper_start.o and /dev/null differ
diff --git a/build/test/out/c/pong.o b/build/test/out/c/pong.o
deleted file mode 100644
index 7ed8663..0000000
Binary files a/build/test/out/c/pong.o and /dev/null differ
diff --git a/build/test/out/c/snake_start.o b/build/test/out/c/snake_start.o
deleted file mode 100644
index cba1813..0000000
Binary files a/build/test/out/c/snake_start.o and /dev/null differ
diff --git a/build/test/out/c/test_add.o b/build/test/out/c/test_add.o
index 463b836..5e3770d 100644
Binary files a/build/test/out/c/test_add.o and b/build/test/out/c/test_add.o differ
diff --git a/build/test/out/c/test_add_runner.o b/build/test/out/c/test_add_runner.o
index 2d20162..f018a39 100644
Binary files a/build/test/out/c/test_add_runner.o and b/build/test/out/c/test_add_runner.o differ
diff --git a/build/test/out/c/test_bomb_in_array.o b/build/test/out/c/test_bomb_in_array.o
deleted file mode 100644
index 651d6c6..0000000
Binary files a/build/test/out/c/test_bomb_in_array.o and /dev/null differ
diff --git a/build/test/out/c/test_bomb_in_array_runner.o b/build/test/out/c/test_bomb_in_array_runner.o
deleted file mode 100644
index 1d1a534..0000000
Binary files a/build/test/out/c/test_bomb_in_array_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_cbrt.o b/build/test/out/c/test_cbrt.o
new file mode 100644
index 0000000..d438809
Binary files /dev/null and b/build/test/out/c/test_cbrt.o differ
diff --git a/build/test/out/c/test_cbrt_runner.o b/build/test/out/c/test_cbrt_runner.o
new file mode 100644
index 0000000..dac5b90
Binary files /dev/null and b/build/test/out/c/test_cbrt_runner.o differ
diff --git a/build/test/out/c/test_ceil.o b/build/test/out/c/test_ceil.o
new file mode 100644
index 0000000..09b405f
Binary files /dev/null and b/build/test/out/c/test_ceil.o differ
diff --git a/build/test/out/c/test_ceil_runner.o b/build/test/out/c/test_ceil_runner.o
new file mode 100644
index 0000000..d3794fe
Binary files /dev/null and b/build/test/out/c/test_ceil_runner.o differ
diff --git a/build/test/out/c/test_checkCollision.o b/build/test/out/c/test_checkCollision.o
deleted file mode 100644
index dd26e7b..0000000
Binary files a/build/test/out/c/test_checkCollision.o and /dev/null differ
diff --git a/build/test/out/c/test_checkCollision_runner.o b/build/test/out/c/test_checkCollision_runner.o
deleted file mode 100644
index 747c52e..0000000
Binary files a/build/test/out/c/test_checkCollision_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_checkGameEnd.o b/build/test/out/c/test_checkGameEnd.o
deleted file mode 100644
index 1a23238..0000000
Binary files a/build/test/out/c/test_checkGameEnd.o and /dev/null differ
diff --git a/build/test/out/c/test_checkGameEnd_runner.o b/build/test/out/c/test_checkGameEnd_runner.o
deleted file mode 100644
index caad412..0000000
Binary files a/build/test/out/c/test_checkGameEnd_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_clearScreen.o b/build/test/out/c/test_clearScreen.o
deleted file mode 100644
index 53e83a8..0000000
Binary files a/build/test/out/c/test_clearScreen.o and /dev/null differ
diff --git a/build/test/out/c/test_clearScreen_runner.o b/build/test/out/c/test_clearScreen_runner.o
deleted file mode 100644
index a4e758e..0000000
Binary files a/build/test/out/c/test_clearScreen_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_collision.o b/build/test/out/c/test_collision.o
deleted file mode 100644
index 542f42a..0000000
Binary files a/build/test/out/c/test_collision.o and /dev/null differ
diff --git a/build/test/out/c/test_collision_runner.o b/build/test/out/c/test_collision_runner.o
deleted file mode 100644
index 56e133c..0000000
Binary files a/build/test/out/c/test_collision_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_divide.o b/build/test/out/c/test_divide.o
new file mode 100644
index 0000000..211bdcd
Binary files /dev/null and b/build/test/out/c/test_divide.o differ
diff --git a/build/test/out/c/test_divide_runner.o b/build/test/out/c/test_divide_runner.o
new file mode 100644
index 0000000..417d68f
Binary files /dev/null and b/build/test/out/c/test_divide_runner.o differ
diff --git a/build/test/out/c/test_exp.o b/build/test/out/c/test_exp.o
new file mode 100644
index 0000000..9901d7c
Binary files /dev/null and b/build/test/out/c/test_exp.o differ
diff --git a/build/test/out/c/test_exp2.o b/build/test/out/c/test_exp2.o
new file mode 100644
index 0000000..d29efbc
Binary files /dev/null and b/build/test/out/c/test_exp2.o differ
diff --git a/build/test/out/c/test_exp2_runner.o b/build/test/out/c/test_exp2_runner.o
new file mode 100644
index 0000000..e2f3c24
Binary files /dev/null and b/build/test/out/c/test_exp2_runner.o differ
diff --git a/build/test/out/c/test_exp_runner.o b/build/test/out/c/test_exp_runner.o
new file mode 100644
index 0000000..aba7074
Binary files /dev/null and b/build/test/out/c/test_exp_runner.o differ
diff --git a/build/test/out/c/test_floor.o b/build/test/out/c/test_floor.o
new file mode 100644
index 0000000..8a82abd
Binary files /dev/null and b/build/test/out/c/test_floor.o differ
diff --git a/build/test/out/c/test_floor_runner.o b/build/test/out/c/test_floor_runner.o
new file mode 100644
index 0000000..e509946
Binary files /dev/null and b/build/test/out/c/test_floor_runner.o differ
diff --git a/build/test/out/c/test_fmax.o b/build/test/out/c/test_fmax.o
new file mode 100644
index 0000000..a052685
Binary files /dev/null and b/build/test/out/c/test_fmax.o differ
diff --git a/build/test/out/c/test_fmax_runner.o b/build/test/out/c/test_fmax_runner.o
new file mode 100644
index 0000000..993faea
Binary files /dev/null and b/build/test/out/c/test_fmax_runner.o differ
diff --git a/build/test/out/c/test_fmin.o b/build/test/out/c/test_fmin.o
new file mode 100644
index 0000000..a3b725f
Binary files /dev/null and b/build/test/out/c/test_fmin.o differ
diff --git a/build/test/out/c/test_fmin_runner.o b/build/test/out/c/test_fmin_runner.o
new file mode 100644
index 0000000..d2f9312
Binary files /dev/null and b/build/test/out/c/test_fmin_runner.o differ
diff --git a/build/test/out/c/test_is_Valid_tile.o b/build/test/out/c/test_is_Valid_tile.o
deleted file mode 100644
index ac4d5d3..0000000
Binary files a/build/test/out/c/test_is_Valid_tile.o and /dev/null differ
diff --git a/build/test/out/c/test_is_Valid_tile_runner.o b/build/test/out/c/test_is_Valid_tile_runner.o
deleted file mode 100644
index 84ab5b4..0000000
Binary files a/build/test/out/c/test_is_Valid_tile_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_log.o b/build/test/out/c/test_log.o
new file mode 100644
index 0000000..4ec5869
Binary files /dev/null and b/build/test/out/c/test_log.o differ
diff --git a/build/test/out/c/test_log10.o b/build/test/out/c/test_log10.o
new file mode 100644
index 0000000..26b2d1b
Binary files /dev/null and b/build/test/out/c/test_log10.o differ
diff --git a/build/test/out/c/test_log10_runner.o b/build/test/out/c/test_log10_runner.o
new file mode 100644
index 0000000..91b406f
Binary files /dev/null and b/build/test/out/c/test_log10_runner.o differ
diff --git a/build/test/out/c/test_log_runner.o b/build/test/out/c/test_log_runner.o
new file mode 100644
index 0000000..fd686d7
Binary files /dev/null and b/build/test/out/c/test_log_runner.o differ
diff --git a/build/test/out/c/test_mod.o b/build/test/out/c/test_mod.o
new file mode 100644
index 0000000..4eb2448
Binary files /dev/null and b/build/test/out/c/test_mod.o differ
diff --git a/build/test/out/c/test_mod_runner.o b/build/test/out/c/test_mod_runner.o
new file mode 100644
index 0000000..1aec833
Binary files /dev/null and b/build/test/out/c/test_mod_runner.o differ
diff --git a/build/test/out/c/test_moving_snake.o b/build/test/out/c/test_moving_snake.o
deleted file mode 100644
index 829d7f1..0000000
Binary files a/build/test/out/c/test_moving_snake.o and /dev/null differ
diff --git a/build/test/out/c/test_moving_snake_runner.o b/build/test/out/c/test_moving_snake_runner.o
deleted file mode 100644
index 06ec999..0000000
Binary files a/build/test/out/c/test_moving_snake_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_multiply.o b/build/test/out/c/test_multiply.o
new file mode 100644
index 0000000..df9603a
Binary files /dev/null and b/build/test/out/c/test_multiply.o differ
diff --git a/build/test/out/c/test_multiply_runner.o b/build/test/out/c/test_multiply_runner.o
new file mode 100644
index 0000000..2651296
Binary files /dev/null and b/build/test/out/c/test_multiply_runner.o differ
diff --git a/build/test/out/c/test_number_of_bombs.o b/build/test/out/c/test_number_of_bombs.o
deleted file mode 100644
index 1d66c5f..0000000
Binary files a/build/test/out/c/test_number_of_bombs.o and /dev/null differ
diff --git a/build/test/out/c/test_number_of_bombs_runner.o b/build/test/out/c/test_number_of_bombs_runner.o
deleted file mode 100644
index d3a3c43..0000000
Binary files a/build/test/out/c/test_number_of_bombs_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_part_of_snake.o b/build/test/out/c/test_part_of_snake.o
deleted file mode 100644
index 934775c..0000000
Binary files a/build/test/out/c/test_part_of_snake.o and /dev/null differ
diff --git a/build/test/out/c/test_part_of_snake_runner.o b/build/test/out/c/test_part_of_snake_runner.o
deleted file mode 100644
index 021fd43..0000000
Binary files a/build/test/out/c/test_part_of_snake_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_playerInputMovement.o b/build/test/out/c/test_playerInputMovement.o
deleted file mode 100644
index 0c89b5e..0000000
Binary files a/build/test/out/c/test_playerInputMovement.o and /dev/null differ
diff --git a/build/test/out/c/test_playerInputMovement_runner.o b/build/test/out/c/test_playerInputMovement_runner.o
deleted file mode 100644
index 870cc10..0000000
Binary files a/build/test/out/c/test_playerInputMovement_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_pong.o b/build/test/out/c/test_pong.o
deleted file mode 100644
index a6be32c..0000000
Binary files a/build/test/out/c/test_pong.o and /dev/null differ
diff --git a/build/test/out/c/test_pong_runner.o b/build/test/out/c/test_pong_runner.o
deleted file mode 100644
index 77ffebf..0000000
Binary files a/build/test/out/c/test_pong_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_round.o b/build/test/out/c/test_round.o
new file mode 100644
index 0000000..4295102
Binary files /dev/null and b/build/test/out/c/test_round.o differ
diff --git a/build/test/out/c/test_round_runner.o b/build/test/out/c/test_round_runner.o
new file mode 100644
index 0000000..3b79980
Binary files /dev/null and b/build/test/out/c/test_round_runner.o differ
diff --git a/build/test/out/c/test_sin.o b/build/test/out/c/test_sin.o
new file mode 100644
index 0000000..68b0f29
Binary files /dev/null and b/build/test/out/c/test_sin.o differ
diff --git a/build/test/out/c/test_sin_runner.o b/build/test/out/c/test_sin_runner.o
new file mode 100644
index 0000000..4a08535
Binary files /dev/null and b/build/test/out/c/test_sin_runner.o differ
diff --git a/build/test/out/c/test_sqrt.o b/build/test/out/c/test_sqrt.o
new file mode 100644
index 0000000..81128f8
Binary files /dev/null and b/build/test/out/c/test_sqrt.o differ
diff --git a/build/test/out/c/test_sqrt_runner.o b/build/test/out/c/test_sqrt_runner.o
new file mode 100644
index 0000000..6a1bce8
Binary files /dev/null and b/build/test/out/c/test_sqrt_runner.o differ
diff --git a/build/test/out/c/test_subtract.o b/build/test/out/c/test_subtract.o
new file mode 100644
index 0000000..4b92b47
Binary files /dev/null and b/build/test/out/c/test_subtract.o differ
diff --git a/build/test/out/c/test_subtract_runner.o b/build/test/out/c/test_subtract_runner.o
new file mode 100644
index 0000000..05a7a82
Binary files /dev/null and b/build/test/out/c/test_subtract_runner.o differ
diff --git a/build/test/out/c/test_template.o b/build/test/out/c/test_template.o
deleted file mode 100644
index 73f7868..0000000
Binary files a/build/test/out/c/test_template.o and /dev/null differ
diff --git a/build/test/out/c/test_template_runner.o b/build/test/out/c/test_template_runner.o
deleted file mode 100644
index 3c6beb1..0000000
Binary files a/build/test/out/c/test_template_runner.o and /dev/null differ
diff --git a/build/test/out/c/test_tictactoe.o b/build/test/out/c/test_tictactoe.o
deleted file mode 100644
index a704cef..0000000
Binary files a/build/test/out/c/test_tictactoe.o and /dev/null differ
diff --git a/build/test/out/c/test_tictactoe_runner.o b/build/test/out/c/test_tictactoe_runner.o
deleted file mode 100644
index eff4dfd..0000000
Binary files a/build/test/out/c/test_tictactoe_runner.o and /dev/null differ
diff --git a/build/test/out/c/unity.o b/build/test/out/c/unity.o
index e8bdd69..94dab28 100644
Binary files a/build/test/out/c/unity.o and b/build/test/out/c/unity.o differ
diff --git a/build/test/out/test_add.out b/build/test/out/test_add.out
index f62e043..24da445 100755
Binary files a/build/test/out/test_add.out and b/build/test/out/test_add.out differ
diff --git a/build/test/out/test_bomb_in_array.out b/build/test/out/test_bomb_in_array.out
deleted file mode 100755
index a2618c0..0000000
Binary files a/build/test/out/test_bomb_in_array.out and /dev/null differ
diff --git a/build/test/out/test_cbrt.out b/build/test/out/test_cbrt.out
new file mode 100755
index 0000000..58d2490
Binary files /dev/null and b/build/test/out/test_cbrt.out differ
diff --git a/build/test/out/test_ceil.out b/build/test/out/test_ceil.out
new file mode 100755
index 0000000..12a55be
Binary files /dev/null and b/build/test/out/test_ceil.out differ
diff --git a/build/test/out/test_checkCollision.out b/build/test/out/test_checkCollision.out
deleted file mode 100755
index 4a9b6f9..0000000
Binary files a/build/test/out/test_checkCollision.out and /dev/null differ
diff --git a/build/test/out/test_checkGameEnd.out b/build/test/out/test_checkGameEnd.out
deleted file mode 100755
index 476ee5f..0000000
Binary files a/build/test/out/test_checkGameEnd.out and /dev/null differ
diff --git a/build/test/out/test_clearScreen.out b/build/test/out/test_clearScreen.out
deleted file mode 100755
index 2429c48..0000000
Binary files a/build/test/out/test_clearScreen.out and /dev/null differ
diff --git a/build/test/out/test_collision.out b/build/test/out/test_collision.out
deleted file mode 100755
index 022a79c..0000000
Binary files a/build/test/out/test_collision.out and /dev/null differ
diff --git a/build/test/out/test_divide.out b/build/test/out/test_divide.out
new file mode 100755
index 0000000..bb50b6e
Binary files /dev/null and b/build/test/out/test_divide.out differ
diff --git a/build/test/out/test_exp.out b/build/test/out/test_exp.out
new file mode 100755
index 0000000..7263b71
Binary files /dev/null and b/build/test/out/test_exp.out differ
diff --git a/build/test/out/test_exp2.out b/build/test/out/test_exp2.out
new file mode 100755
index 0000000..cdc55af
Binary files /dev/null and b/build/test/out/test_exp2.out differ
diff --git a/build/test/out/test_factorial.out b/build/test/out/test_factorial.out
index b7a6cec..dd3debf 100755
Binary files a/build/test/out/test_factorial.out and b/build/test/out/test_factorial.out differ
diff --git a/build/test/out/test_floor.out b/build/test/out/test_floor.out
new file mode 100755
index 0000000..a74209f
Binary files /dev/null and b/build/test/out/test_floor.out differ
diff --git a/build/test/out/test_fmax.out b/build/test/out/test_fmax.out
new file mode 100755
index 0000000..5ce749e
Binary files /dev/null and b/build/test/out/test_fmax.out differ
diff --git a/build/test/out/test_fmin.out b/build/test/out/test_fmin.out
new file mode 100755
index 0000000..b3b888d
Binary files /dev/null and b/build/test/out/test_fmin.out differ
diff --git a/build/test/out/test_is_Valid_tile.out b/build/test/out/test_is_Valid_tile.out
deleted file mode 100755
index 4105934..0000000
Binary files a/build/test/out/test_is_Valid_tile.out and /dev/null differ
diff --git a/build/test/out/test_log.out b/build/test/out/test_log.out
new file mode 100755
index 0000000..90fef5a
Binary files /dev/null and b/build/test/out/test_log.out differ
diff --git a/build/test/out/test_log10.out b/build/test/out/test_log10.out
new file mode 100755
index 0000000..114d848
Binary files /dev/null and b/build/test/out/test_log10.out differ
diff --git a/build/test/out/test_mod.out b/build/test/out/test_mod.out
new file mode 100755
index 0000000..f77940a
Binary files /dev/null and b/build/test/out/test_mod.out differ
diff --git a/build/test/out/test_moving_snake.out b/build/test/out/test_moving_snake.out
deleted file mode 100755
index e3f2dcf..0000000
Binary files a/build/test/out/test_moving_snake.out and /dev/null differ
diff --git a/build/test/out/test_multiply.out b/build/test/out/test_multiply.out
new file mode 100755
index 0000000..a40b483
Binary files /dev/null and b/build/test/out/test_multiply.out differ
diff --git a/build/test/out/test_number_of_bombs.out b/build/test/out/test_number_of_bombs.out
deleted file mode 100755
index 7ae6181..0000000
Binary files a/build/test/out/test_number_of_bombs.out and /dev/null differ
diff --git a/build/test/out/test_part_of_snake.out b/build/test/out/test_part_of_snake.out
deleted file mode 100755
index 87a8574..0000000
Binary files a/build/test/out/test_part_of_snake.out and /dev/null differ
diff --git a/build/test/out/test_playerInputMovement.out b/build/test/out/test_playerInputMovement.out
deleted file mode 100755
index 3b9604e..0000000
Binary files a/build/test/out/test_playerInputMovement.out and /dev/null differ
diff --git a/build/test/out/test_pong.out b/build/test/out/test_pong.out
deleted file mode 100755
index a2c366e..0000000
Binary files a/build/test/out/test_pong.out and /dev/null differ
diff --git a/build/test/out/test_pow.out b/build/test/out/test_pow.out
index 1572d74..aba391d 100755
Binary files a/build/test/out/test_pow.out and b/build/test/out/test_pow.out differ
diff --git a/build/test/out/test_round.out b/build/test/out/test_round.out
new file mode 100755
index 0000000..8c1a33f
Binary files /dev/null and b/build/test/out/test_round.out differ
diff --git a/build/test/out/test_sin.out b/build/test/out/test_sin.out
new file mode 100755
index 0000000..fb70f0d
Binary files /dev/null and b/build/test/out/test_sin.out differ
diff --git a/build/test/out/test_sqrt.out b/build/test/out/test_sqrt.out
new file mode 100755
index 0000000..35fd11f
Binary files /dev/null and b/build/test/out/test_sqrt.out differ
diff --git a/build/test/out/test_subtract.out b/build/test/out/test_subtract.out
new file mode 100755
index 0000000..e4e3173
Binary files /dev/null and b/build/test/out/test_subtract.out differ
diff --git a/build/test/out/test_template.out b/build/test/out/test_template.out
deleted file mode 100755
index 69915c0..0000000
Binary files a/build/test/out/test_template.out and /dev/null differ
diff --git a/build/test/out/test_tictactoe.out b/build/test/out/test_tictactoe.out
deleted file mode 100755
index 3718d07..0000000
Binary files a/build/test/out/test_tictactoe.out and /dev/null differ
diff --git a/build/test/preprocess/files/test_add.c b/build/test/preprocess/files/test_add.c
index fe4db9b..26907b6 100644
--- a/build/test/preprocess/files/test_add.c
+++ b/build/test/preprocess/files/test_add.c
@@ -1,4 +1,4 @@
-#include "build/temp/../../src/main/c/Calculator/calculator.h"
+#include "src/main/c/Template/game100.h"
#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
@@ -20,60 +20,32 @@ void tearDown(void){
-void test_pow_N_N(void){
+void test_add(void){
- double result;
+ int num1 = 10;
- double b = 3;
+ int num2 = 5;
- double a = 3;
+ int result;
+ int addition = num1 + num2;
- result = pow(a, b);
+ result = addition;
- UnityAssertEqualNumber((UNITY_INT)((27)), (UNITY_INT)((result)), (
- ((void *)0)
-
- ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_pow_Z_N(void){
-
-
-
- double result;
-
- double b = 3;
-
- double a = -3;
-
-
-
-
-
- result = pow(a, b);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-27)), (UNITY_INT)((result)), (
+ UnityAssertEqualNumber((UNITY_INT)((15)), (UNITY_INT)((result)), (
((void *)0)
- ), (UNITY_UINT)(36), UNITY_DISPLAY_STYLE_INT);
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
}
diff --git a/build/test/preprocess/files/test_bomb_in_array.c b/build/test/preprocess/files/test_bomb_in_array.c
deleted file mode 100644
index 14de752..0000000
--- a/build/test/preprocess/files/test_bomb_in_array.c
+++ /dev/null
@@ -1,79 +0,0 @@
-#include "build/temp/../../src/main/c/Minesweeper/minesweeper_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_bomb_in_array(void){
-
-
-
-
-
- _Bool
-
- result;
-
- int array[] = {5, 9, 42, 6, 87, 95, 202, 13, 45 ,78};
-
- int bomb = 42;
-
- int length = 10;
-
-
-
-
-
- result = array_contains_value(array, bomb, length);
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(22)));}} while(0);
-
-}
-
-
-
-
-
-void test_bomb_not_in_array(void){
-
-
-
-
-
- _Bool
-
- result;
-
- int array[] = {5, 9, 42, 6, 87, 95, 202, 13, 45 ,78};
-
- int bomb = 0;
-
- int length = 10;
-
-
-
-
-
- result = array_contains_value(array, bomb, length);
-
-
-
-
-
- do {if (!(result)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(37)));}} while(0);
-
-}
diff --git a/build/test/preprocess/files/test_cbrt.c b/build/test/preprocess/files/test_cbrt.c
new file mode 100644
index 0000000..c7daba2
--- /dev/null
+++ b/build/test/preprocess/files/test_cbrt.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_cbrt(void){
+
+
+
+ double result;
+
+ double a = 4;
+
+
+
+
+
+ result = cbrt(4);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1.587401052)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_ceil.c b/build/test/preprocess/files/test_ceil.c
new file mode 100644
index 0000000..2fb1b1c
--- /dev/null
+++ b/build/test/preprocess/files/test_ceil.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_ceil(void){
+
+
+
+int result;
+
+double a =2.34;
+
+
+
+
+
+
+
+result = ceil(a);
+
+
+
+
+
+UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result)), (
+
+((void *)0)
+
+), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_checkCollision.c b/build/test/preprocess/files/test_checkCollision.c
deleted file mode 100644
index 79e7083..0000000
--- a/build/test/preprocess/files/test_checkCollision.c
+++ /dev/null
@@ -1,143 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-
-
-typedef struct {
-
- int x;
-
- int y;
-
- int speedX;
-
- int speedY;
-
-} Ball;
-
-
-
-typedef struct {
-
- int x;
-
- int y;
-
- int width;
-
- int height;
-
-} Paddle;
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_checkCollision(void){
-
- Ball ball = {10, 10, 1, 1};
-
- Paddle paddle = {50, 10, 5, 10};
-
-
-
-
-
- ball.x = 0;
-
- int result1 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result1)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(35), UNITY_DISPLAY_STYLE_INT);
-
-
-
- ball.x = 40 - 1;
-
- int result2 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result2)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(39), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- ball.x = 5;
-
- ball.y = 0;
-
- int result3 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result3)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(45), UNITY_DISPLAY_STYLE_INT);
-
-
-
- ball.y = 20 - 1;
-
- int result4 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result4)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(49), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- ball.x = paddle.x - 1;
-
- ball.y = paddle.y + 1;
-
- int result5 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result5)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(55), UNITY_DISPLAY_STYLE_INT);
-
-
-
- ball.x = paddle.x + 1;
-
- ball.y = paddle.y + 1;
-
- int result6 = checkCollision(ball, paddle.y, paddle.y);
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result6)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(60), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/preprocess/files/test_checkGameEnd.c b/build/test/preprocess/files/test_checkGameEnd.c
deleted file mode 100644
index 3c0d662..0000000
--- a/build/test/preprocess/files/test_checkGameEnd.c
+++ /dev/null
@@ -1,69 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_checkGameEnd(void){
-
-
-
- int maxScore = 5;
-
- int score1 = 4, score2 = 2;
-
-
-
-
-
- int result = checkGameEnd(score1, score2, maxScore);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- score1 = 5;
-
- result = checkGameEnd(score1, score2, maxScore);
-
- UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(28), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
-
-
-}
diff --git a/build/test/preprocess/files/test_clearScreen.c b/build/test/preprocess/files/test_clearScreen.c
deleted file mode 100644
index 74ec6bf..0000000
--- a/build/test/preprocess/files/test_clearScreen.c
+++ /dev/null
@@ -1,73 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-
-
-
-
-char screen[20][40 +1];
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_clearScreen(void){
-
-
-
- int i, j;
-
- for (i = 0; i < 20; i++) {
-
- for (j = 0; j < 40; j++) {
-
- screen[i][j] = ' ';
-
- }
-
- screen[i][j] = '\0';
-
- }
-
-
-
-
-
- clearScreen();
-
-
-
-
-
- for (i = 0; i < 20; i++) {
-
- for (j = 0; j < 40; j++) {
-
- UnityAssertEqualNumber((UNITY_INT)((' ')), (UNITY_INT)((screen[i][j])), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
-
- }
-
- }
-
-}
diff --git a/build/test/preprocess/files/test_collision.c b/build/test/preprocess/files/test_collision.c
deleted file mode 100644
index a159403..0000000
--- a/build/test/preprocess/files/test_collision.c
+++ /dev/null
@@ -1,102 +0,0 @@
-#include "src/main/c/Snake/get_character.h"
-#include "src/main/c/Snake/snake_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_self_collision(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {1, 5, {6 + 16 * 6, 6 + 16 * 7, 7 + 16 * 7, 7 + 16 * 6, 6 + 16 * 6}};
-
-
-
-
-
- result = check_if_dead(&snake);
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(21)));}} while(0);
-
-}
-
-
-
-
-
-void test_no_collision(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = check_if_dead(&snake);
-
-
-
-
-
- do {if (!(result)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(34)));}} while(0);
-
-}
-
-
-
-
-
-void test_wall_collision(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {-1, 4, {0 + 16 * 6, 1 + 16 * 6, 2 + 16 * 6, 3 + 16 * 6}};
-
-
-
-
-
- result = check_if_dead(&snake);
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(47)));}} while(0);
-
-}
diff --git a/build/test/preprocess/files/test_divide.c b/build/test/preprocess/files/test_divide.c
new file mode 100644
index 0000000..3763fc5
--- /dev/null
+++ b/build/test/preprocess/files/test_divide.c
@@ -0,0 +1,51 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_divide(void){
+
+
+
+ double num1 = 9;
+
+ double num2 = 3;
+
+ double division = num1 / num2;
+
+ double result;
+
+
+
+
+
+ result = division;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((3)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_exp.c b/build/test/preprocess/files/test_exp.c
new file mode 100644
index 0000000..9186a3b
--- /dev/null
+++ b/build/test/preprocess/files/test_exp.c
@@ -0,0 +1,35 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+
+
+
+
+ void test_exp(void) {
+
+
+
+ double result;
+
+ double a =1;
+
+ double exponent = exp(a);
+
+
+
+ result = exponent;
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(16), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_exp2.c b/build/test/preprocess/files/test_exp2.c
new file mode 100644
index 0000000..d2d8c6e
--- /dev/null
+++ b/build/test/preprocess/files/test_exp2.c
@@ -0,0 +1,51 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_fmin(void){
+
+
+
+ double num1 =1;
+
+ double num2 = 8;
+
+ double result;
+
+ double min = fmin(1,8);
+
+
+
+
+
+ result = min;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/preprocess/files/test_floor.c b/build/test/preprocess/files/test_floor.c
new file mode 100644
index 0000000..3c3b6e9
--- /dev/null
+++ b/build/test/preprocess/files/test_floor.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_floor(void){
+
+
+
+ double result;
+
+ double num1 = 7.12;
+
+
+
+
+
+ result = floor(num1);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((7)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/preprocess/files/test_fmax.c b/build/test/preprocess/files/test_fmax.c
new file mode 100644
index 0000000..9c346ec
--- /dev/null
+++ b/build/test/preprocess/files/test_fmax.c
@@ -0,0 +1,35 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+ void test_fmax(void){
+
+
+
+ double result;
+
+ double num1;
+
+ double num2;
+
+ double max = fmax(14.4,3.4);
+
+
+
+
+
+ result = max;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((14.4)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(25), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/preprocess/files/test_fmin.c b/build/test/preprocess/files/test_fmin.c
new file mode 100644
index 0000000..0e24187
--- /dev/null
+++ b/build/test/preprocess/files/test_fmin.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_fmin(void){
+
+
+
+ double num1;
+
+ double num2;
+
+ double result = fmin(1,16);
+
+
+
+
+
+ return result;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/preprocess/files/test_is_Valid_tile.c b/build/test/preprocess/files/test_is_Valid_tile.c
deleted file mode 100644
index 5911aa4..0000000
--- a/build/test/preprocess/files/test_is_Valid_tile.c
+++ /dev/null
@@ -1,269 +0,0 @@
-#include "build/temp/../../src/main/c/Minesweeper/minesweeper_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_detect_not_valid_tile_left(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 2;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_not_valid_tile_up(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 3;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(35), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_not_valid_tile_right(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 5;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(49), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_not_valid_tile_down(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 4;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(63), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_left(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 2;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((board.width * board.height - 2)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(77), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_up(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = board.width * board.height - 1;
-
- int direction = 3;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((board.width * (board.height - 1) - 1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(91), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_right(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 5;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(105), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_detect_valid_tile_down(void){
-
-
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0;
-
- int direction = 4;
-
- int result;
-
-
-
-
-
- result = is_Valid_tile(&board, tile, direction);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0 + board.width)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(119), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/preprocess/files/test_log.c b/build/test/preprocess/files/test_log.c
new file mode 100644
index 0000000..e09d97d
--- /dev/null
+++ b/build/test/preprocess/files/test_log.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_log(void){
+
+
+
+ double result;
+
+ double a=4;
+
+
+
+
+
+ result = log(a);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((4)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_log10.c b/build/test/preprocess/files/test_log10.c
new file mode 100644
index 0000000..155f9ee
--- /dev/null
+++ b/build/test/preprocess/files/test_log10.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_log10(void){
+
+
+
+ double result;
+
+ double a = 20;
+
+ result = log10(a);
+
+
+
+
+
+ return result;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((20)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_mod.c b/build/test/preprocess/files/test_mod.c
new file mode 100644
index 0000000..a31e4eb
--- /dev/null
+++ b/build/test/preprocess/files/test_mod.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_mod(void){
+
+
+
+ int result;
+
+
+
+
+
+
+
+ result = mod(10, 5);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_moving_snake.c b/build/test/preprocess/files/test_moving_snake.c
deleted file mode 100644
index b305c52..0000000
--- a/build/test/preprocess/files/test_moving_snake.c
+++ /dev/null
@@ -1,142 +0,0 @@
-#include "build/temp/../../src/main/c/Snake/get_character.h"
-#include "build/temp/../../src/main/c/Snake/snake_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_moving_right(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {1, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {1, 3, {9 + 16 * 6, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(24)));}} while(0);
-
-}
-
-
-
-void test_moving_down(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {16, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {16, 3, {8 + 16 * 7, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(38)));}} while(0);
-
-}
-
-
-
-void test_moving_left(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {-1, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {-1, 3, {7 + 16 * 6, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(52)));}} while(0);
-
-}
-
-
-
-void test_moving_up(void){
-
-
-
-
-
- _Bool
-
- result;
-
- Snake snake = {-16, 3, {8 + 16 * 6, 7 + 16 * 6, 6 + 16 * 6}};
-
- Snake expected = {-16, 3, {8 + 16 * 5, 8 + 16 * 6, 7 + 16 * 6}};
-
-
-
-
-
- move_snake(&snake);
-
- result = memcmp(&snake, &expected, sizeof(Snake)) == 0;
-
-
-
-
-
- do {if ((result)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(66)));}} while(0);
-
-}
diff --git a/build/test/preprocess/files/test_multiply.c b/build/test/preprocess/files/test_multiply.c
new file mode 100644
index 0000000..817c4c7
--- /dev/null
+++ b/build/test/preprocess/files/test_multiply.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Template/game100.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_mulitply(void){
+
+
+
+ int num1=5;
+
+ int num2=5;
+
+ int product = num1 * num2;
+
+
+
+ int result = product;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((25)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_number_of_bombs.c b/build/test/preprocess/files/test_number_of_bombs.c
deleted file mode 100644
index 9b1981f..0000000
--- a/build/test/preprocess/files/test_number_of_bombs.c
+++ /dev/null
@@ -1,205 +0,0 @@
-#include "build/temp/../../src/main/c/Minesweeper/minesweeper_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_no_bombs_placed_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0 + board.width * 1;
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_searching_for_bombs_on_correct_tiles(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0 + board.width * 1;
-
- board.bombs[0] = 0 + board.width * 3;
-
- board.bombs[1] = 2 + board.width * 1;
-
- board.bombs[2] = board.width - 1 + board.width * 1;
-
- board.bombs[3] = 0 + board.width * (board.height - 1);
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(38), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_2_bombs_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 0 + board.width * 1;
-
- board.bombs[0] = 0 + board.width * 2;
-
- board.bombs[1] = 1 + board.width * 1;
-
- board.bombs[2] = board.width - 1 + board.width * 1;
-
- board.bombs[3] = 0 + board.width * (board.height - 1);
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(55), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_5_bombs_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 1 + board.width * 0;
-
- board.bombs[0] = 0 + board.width * 0;
-
- board.bombs[1] = 2 + board.width * 0;
-
- board.bombs[2] = 0 + board.width * 1;
-
- board.bombs[3] = 1 + board.width * 1;
-
- board.bombs[4] = 2 + board.width * 1;
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(73), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-void test_8_bombs_around_tile(void){
-
-
-
- int result;
-
- Minesweeper_Board board = initialize_minesweeper();
-
- int tile = 7 + board.width * 7;
-
- board.bombs[0] = 6 + board.width * 6;
-
- board.bombs[1] = 7 + board.width * 6;
-
- board.bombs[2] = 8 + board.width * 6;
-
- board.bombs[3] = 6 + board.width * 7;
-
- board.bombs[4] = 8 + board.width * 7;
-
- board.bombs[5] = 6 + board.width * 8;
-
- board.bombs[6] = 7 + board.width * 8;
-
- board.bombs[7] = 8 + board.width * 8;
-
-
-
-
-
- result = number_of_bombs(&board, tile);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((8)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(94), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/preprocess/files/test_part_of_snake.c b/build/test/preprocess/files/test_part_of_snake.c
deleted file mode 100644
index b488cb0..0000000
--- a/build/test/preprocess/files/test_part_of_snake.c
+++ /dev/null
@@ -1,102 +0,0 @@
-#include "build/temp/../../src/main/c/Snake/get_character.h"
-#include "build/temp/../../src/main/c/Snake/snake_start.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){}
-
-void tearDown(void){}
-
-
-
-
-
-void test_find_head(void){
-
-
-
- int result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = part_of_snake(&snake, 8 * 16 + 8);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(20), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-
-
-void test_get_correct_index(void){
-
-
-
- int result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = part_of_snake(&snake, 8 * 16 + 6);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((2)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-
-
-void test_snake_not_on_tile(void){
-
-
-
- int result;
-
- Snake snake = initialize_snake();
-
-
-
-
-
- result = part_of_snake(&snake, 6 * 16 + 6);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((-1)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(46), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/preprocess/files/test_playerInputMovement.c b/build/test/preprocess/files/test_playerInputMovement.c
deleted file mode 100644
index d38ca76..0000000
--- a/build/test/preprocess/files/test_playerInputMovement.c
+++ /dev/null
@@ -1,83 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-typedef struct {
-
- int x;
-
- int y;
-
- int speedX;
-
- int speedY;
-
-} Paddle;
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-
-
-void tearDown(void){
-
-}
-
-
-
-void test_playerInputMovement(void){
-
-
-
- int paddlePositionY = 10;
-
- int userInput = -1;
-
- int expectedY = paddlePositionY - 1;
-
-
-
- processPlayerInput(&paddlePositionY, userInput);
-
- UnityAssertEqualNumber((UNITY_INT)((expectedY)), (UNITY_INT)((paddlePositionY)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(27), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
- userInput = 1;
-
- expectedY = paddlePositionY + 1;
-
-
-
-
-
- processPlayerInput(&paddlePositionY, userInput);
-
- UnityAssertEqualNumber((UNITY_INT)((expectedY)), (UNITY_INT)((paddlePositionY)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(35), UNITY_DISPLAY_STYLE_INT);
-
-
-
-
-
-
-
-}
diff --git a/build/test/preprocess/files/test_pong.c b/build/test/preprocess/files/test_pong.c
deleted file mode 100644
index 7e1dfbf..0000000
--- a/build/test/preprocess/files/test_pong.c
+++ /dev/null
@@ -1,51 +0,0 @@
-#include "src/main/c/Pong/pong.h"
-#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-void tearDown(void){
-
-}
-
-
-
-
-
-void test_input_all_5(void){
-
-
-
- int a = 4, b = 5;
-
-
-
-
-
- resetScore( &a, &b );
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((a)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
- UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((b)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/preprocess/files/test_round.c b/build/test/preprocess/files/test_round.c
new file mode 100644
index 0000000..918ee70
--- /dev/null
+++ b/build/test/preprocess/files/test_round.c
@@ -0,0 +1,49 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_round(void){
+
+
+
+ double num1= 3.7;
+
+ double result;
+
+ double rounding = round(num1);
+
+
+
+
+
+ result = rounding;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((3)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/preprocess/files/test_sin.c b/build/test/preprocess/files/test_sin.c
new file mode 100644
index 0000000..7e09eae
--- /dev/null
+++ b/build/test/preprocess/files/test_sin.c
@@ -0,0 +1,53 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+ void setUp(void){
+
+
+
+ }
+
+ void tearDown(void){
+
+ }
+
+
+
+
+
+ void test_sin(void){
+
+
+
+ double num1=20;
+
+ double result;
+
+ double sine = num1 *
+
+ 3.14159265358979323846
+
+ /180.0;
+
+
+
+
+
+ result = sine;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((0.34)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(23), UNITY_DISPLAY_STYLE_INT);
+
+ }
diff --git a/build/test/preprocess/files/test_sqrt.c b/build/test/preprocess/files/test_sqrt.c
new file mode 100644
index 0000000..10dde0b
--- /dev/null
+++ b/build/test/preprocess/files/test_sqrt.c
@@ -0,0 +1,47 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_sqrt(void){
+
+
+
+ double result;
+
+ int a = 25;
+
+
+
+
+
+ result = sqrt(25);
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(22), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_subtract.c b/build/test/preprocess/files/test_subtract.c
new file mode 100644
index 0000000..a44beb1
--- /dev/null
+++ b/build/test/preprocess/files/test_subtract.c
@@ -0,0 +1,51 @@
+#include "src/main/c/Calculator/calculator.h"
+#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+
+
+
+
+
+
+void setUp(void){
+
+
+
+}
+
+void tearDown(void){
+
+}
+
+
+
+
+
+void test_subtract(void){
+
+
+
+ int num1 = 14;
+
+ int num2 = 7;
+
+ int result;
+
+ int subtraction = num1 - num2;
+
+
+
+
+
+ result = subtraction;
+
+
+
+
+
+ UnityAssertEqualNumber((UNITY_INT)((7)), (UNITY_INT)((result)), (
+
+ ((void *)0)
+
+ ), (UNITY_UINT)(24), UNITY_DISPLAY_STYLE_INT);
+
+}
diff --git a/build/test/preprocess/files/test_template.c b/build/test/preprocess/files/test_template.c
deleted file mode 100644
index 0380b7b..0000000
--- a/build/test/preprocess/files/test_template.c
+++ /dev/null
@@ -1,73 +0,0 @@
-#include "src/main/c/Template/game100.h"
-#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-
-
-
-
-
-
-void setUp(void){
-
-
-
-}
-
-void tearDown(void){
-
-}
-
-
-
-
-
-void test_input_all_5(void){
-
-
-
- int result;
-
-
-
-
-
- result = some_function(5, 5);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((6)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT);
-
-}
-
-
-
-
-
-void test_ignore_rest_from_division(void){
-
-
-
- int result;
-
-
-
-
-
- result = some_function(5, 6);
-
-
-
-
-
- UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), (
-
- ((void *)0)
-
- ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT);
-
-}
diff --git a/build/test/preprocess/files/test_tictactoe.c b/build/test/preprocess/files/test_tictactoe.c
deleted file mode 100644
index e69de29..0000000
diff --git a/build/test/preprocess/includes/test_add.c b/build/test/preprocess/includes/test_add.c
index 26256f2..e60bf2a 100644
--- a/build/test/preprocess/includes/test_add.c
+++ b/build/test/preprocess/includes/test_add.c
@@ -1,3 +1,3 @@
---
- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- build/temp/../../src/main/c/Calculator/calculator.h
+- src/main/c/Template/game100.h
diff --git a/build/test/preprocess/includes/test_bomb_in_array.c b/build/test/preprocess/includes/test_bomb_in_array.c
deleted file mode 100644
index 5630e0a..0000000
--- a/build/test/preprocess/includes/test_bomb_in_array.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- build/temp/../../src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/test/preprocess/includes/test_cbrt.c b/build/test/preprocess/includes/test_cbrt.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_cbrt.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_ceil.c b/build/test/preprocess/includes/test_ceil.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_ceil.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_checkCollision.c b/build/test/preprocess/includes/test_checkCollision.c
deleted file mode 100644
index 2b3a590..0000000
--- a/build/test/preprocess/includes/test_checkCollision.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- src/main/c/Pong/pong.h
diff --git a/build/test/preprocess/includes/test_checkGameEnd.c b/build/test/preprocess/includes/test_checkGameEnd.c
deleted file mode 100644
index 2b3a590..0000000
--- a/build/test/preprocess/includes/test_checkGameEnd.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- src/main/c/Pong/pong.h
diff --git a/build/test/preprocess/includes/test_clearScreen.c b/build/test/preprocess/includes/test_clearScreen.c
deleted file mode 100644
index 2b3a590..0000000
--- a/build/test/preprocess/includes/test_clearScreen.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- src/main/c/Pong/pong.h
diff --git a/build/test/preprocess/includes/test_collision.c b/build/test/preprocess/includes/test_collision.c
deleted file mode 100644
index a508f7d..0000000
--- a/build/test/preprocess/includes/test_collision.c
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- src/main/c/Snake/snake_start.h
-- src/main/c/Snake/get_character.h
diff --git a/build/test/preprocess/includes/test_divide.c b/build/test/preprocess/includes/test_divide.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_divide.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_exp.c b/build/test/preprocess/includes/test_exp.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_exp.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_exp2.c b/build/test/preprocess/includes/test_exp2.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_exp2.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_floor.c b/build/test/preprocess/includes/test_floor.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_floor.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_fmax.c b/build/test/preprocess/includes/test_fmax.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_fmax.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_fmin.c b/build/test/preprocess/includes/test_fmin.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_fmin.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_is_Valid_tile.c b/build/test/preprocess/includes/test_is_Valid_tile.c
deleted file mode 100644
index 5630e0a..0000000
--- a/build/test/preprocess/includes/test_is_Valid_tile.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- build/temp/../../src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/test/preprocess/includes/test_log.c b/build/test/preprocess/includes/test_log.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_log.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_log10.c b/build/test/preprocess/includes/test_log10.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_log10.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_mod.c b/build/test/preprocess/includes/test_mod.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_mod.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_moving_snake.c b/build/test/preprocess/includes/test_moving_snake.c
deleted file mode 100644
index 879a735..0000000
--- a/build/test/preprocess/includes/test_moving_snake.c
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- build/temp/../../src/main/c/Snake/snake_start.h
-- build/temp/../../src/main/c/Snake/get_character.h
diff --git a/build/test/preprocess/includes/test_template.c b/build/test/preprocess/includes/test_multiply.c
similarity index 100%
rename from build/test/preprocess/includes/test_template.c
rename to build/test/preprocess/includes/test_multiply.c
diff --git a/build/test/preprocess/includes/test_number_of_bombs.c b/build/test/preprocess/includes/test_number_of_bombs.c
deleted file mode 100644
index 5630e0a..0000000
--- a/build/test/preprocess/includes/test_number_of_bombs.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- build/temp/../../src/main/c/Minesweeper/minesweeper_start.h
diff --git a/build/test/preprocess/includes/test_part_of_snake.c b/build/test/preprocess/includes/test_part_of_snake.c
deleted file mode 100644
index 879a735..0000000
--- a/build/test/preprocess/includes/test_part_of_snake.c
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- build/temp/../../src/main/c/Snake/snake_start.h
-- build/temp/../../src/main/c/Snake/get_character.h
diff --git a/build/test/preprocess/includes/test_playerInputMovement.c b/build/test/preprocess/includes/test_playerInputMovement.c
deleted file mode 100644
index 2b3a590..0000000
--- a/build/test/preprocess/includes/test_playerInputMovement.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- src/main/c/Pong/pong.h
diff --git a/build/test/preprocess/includes/test_pong.c b/build/test/preprocess/includes/test_pong.c
deleted file mode 100644
index 2b3a590..0000000
--- a/build/test/preprocess/includes/test_pong.c
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
-- src/main/c/Pong/pong.h
diff --git a/build/test/preprocess/includes/test_round.c b/build/test/preprocess/includes/test_round.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_round.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_sin.c b/build/test/preprocess/includes/test_sin.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_sin.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_sqrt.c b/build/test/preprocess/includes/test_sqrt.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_sqrt.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_subtract.c b/build/test/preprocess/includes/test_subtract.c
new file mode 100644
index 0000000..f2efae7
--- /dev/null
+++ b/build/test/preprocess/includes/test_subtract.c
@@ -0,0 +1,3 @@
+---
+- "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h"
+- src/main/c/Calculator/calculator.h
diff --git a/build/test/preprocess/includes/test_tictactoe.c b/build/test/preprocess/includes/test_tictactoe.c
deleted file mode 100644
index dcd024e..0000000
--- a/build/test/preprocess/includes/test_tictactoe.c
+++ /dev/null
@@ -1 +0,0 @@
---- []
diff --git a/build/test/results/test_add.pass b/build/test/results/test_add.pass
index 4deef9a..f17b730 100644
--- a/build/test/results/test_add.pass
+++ b/build/test/results/test_add.pass
@@ -3,20 +3,16 @@
:path: test/Calculator
:file: test_add.c
:successes:
-- :test: test_pow_N_N
+- :test: test_add
:line: 13
:message: ''
:unity_test_time: 0
-- :test: test_pow_Z_N
- :line: 26
- :message: ''
- :unity_test_time: 0
:failures: []
:ignores: []
:counts:
- :total: 2
- :passed: 2
+ :total: 1
+ :passed: 1
:failed: 0
:ignored: 0
:stdout: []
-:time: 0.007150935009121895
+:time: 0.0006915350095368922
diff --git a/build/test/results/test_bomb_in_array.pass b/build/test/results/test_bomb_in_array.pass
deleted file mode 100644
index 7c25b4d..0000000
--- a/build/test/results/test_bomb_in_array.pass
+++ /dev/null
@@ -1,22 +0,0 @@
----
-:source:
- :path: test/Minesweeper
- :file: test_bomb_in_array.c
-:successes:
-- :test: test_bomb_in_array
- :line: 11
- :message: ''
- :unity_test_time: 0
-- :test: test_bomb_not_in_array
- :line: 26
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 2
- :passed: 2
- :failed: 0
- :ignored: 0
-:stdout: []
-:time: 0.001660895999521017
diff --git a/build/test/results/test_pong.pass b/build/test/results/test_cbrt.pass
similarity index 64%
rename from build/test/results/test_pong.pass
rename to build/test/results/test_cbrt.pass
index baea06b..fbdc767 100644
--- a/build/test/results/test_pong.pass
+++ b/build/test/results/test_cbrt.pass
@@ -1,9 +1,9 @@
---
:source:
- :path: test/Pong
- :file: test_pong.c
+ :path: test/Calculator
+ :file: test_cbrt.c
:successes:
-- :test: test_input_all_5
+- :test: test_cbrt
:line: 13
:message: ''
:unity_test_time: 0
@@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
-:time: 0.0018394770013401285
+:time: 0.0011980520212091506
diff --git a/build/test/results/test_checkCollision.pass b/build/test/results/test_ceil.pass
similarity index 57%
rename from build/test/results/test_checkCollision.pass
rename to build/test/results/test_ceil.pass
index 8d6367c..4113d00 100644
--- a/build/test/results/test_checkCollision.pass
+++ b/build/test/results/test_ceil.pass
@@ -1,10 +1,10 @@
---
:source:
- :path: test/Pong
- :file: test_checkCollision.c
+ :path: test/Calculator
+ :file: test_ceil.c
:successes:
-- :test: test_checkCollision
- :line: 28
+- :test: test_ceil
+ :line: 13
:message: ''
:unity_test_time: 0
:failures: []
@@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
-:time: 0.0022849989982205443
+:time: 0.0007785420166328549
diff --git a/build/test/results/test_clearScreen.pass b/build/test/results/test_clearScreen.pass
deleted file mode 100644
index 6ce9220..0000000
--- a/build/test/results/test_clearScreen.pass
+++ /dev/null
@@ -1,19 +0,0 @@
----
-:source:
- :path: test/Pong
- :file: test_clearScreen.c
-:successes:
-- :test: test_clearScreen
- :line: 17
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 1
- :passed: 1
- :failed: 0
- :ignored: 0
-:stdout:
-- "\e[H\e[2J\e[3J"
-:time: 0.003976027997850906
diff --git a/build/test/results/test_collision.pass b/build/test/results/test_collision.pass
deleted file mode 100644
index 2fad159..0000000
--- a/build/test/results/test_collision.pass
+++ /dev/null
@@ -1,26 +0,0 @@
----
-:source:
- :path: test/Snake
- :file: test_collision.c
-:successes:
-- :test: test_self_collision
- :line: 12
- :message: ''
- :unity_test_time: 0
-- :test: test_no_collision
- :line: 25
- :message: ''
- :unity_test_time: 0
-- :test: test_wall_collision
- :line: 38
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 3
- :passed: 3
- :failed: 0
- :ignored: 0
-:stdout: []
-:time: 0.0017233269973075949
diff --git a/build/test/results/test_playerInputMovement.pass b/build/test/results/test_divide.pass
similarity index 55%
rename from build/test/results/test_playerInputMovement.pass
rename to build/test/results/test_divide.pass
index ba39949..e0886cc 100644
--- a/build/test/results/test_playerInputMovement.pass
+++ b/build/test/results/test_divide.pass
@@ -1,10 +1,10 @@
---
:source:
- :path: test/Pong
- :file: test_playerInputMovement.c
+ :path: test/Calculator
+ :file: test_divide.c
:successes:
-- :test: test_playerInputMovement
- :line: 20
+- :test: test_divide
+ :line: 13
:message: ''
:unity_test_time: 0
:failures: []
@@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
-:time: 0.0013923250007792376
+:time: 0.000737777998438105
diff --git a/build/test/results/test_exp.pass b/build/test/results/test_exp.pass
new file mode 100644
index 0000000..73d0e07
--- /dev/null
+++ b/build/test/results/test_exp.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_exp.c
+:successes:
+- :test: test_exp
+ :line: 8
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.000823944981675595
diff --git a/build/test/results/test_exp2.pass b/build/test/results/test_exp2.pass
new file mode 100644
index 0000000..f4943b0
--- /dev/null
+++ b/build/test/results/test_exp2.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_exp2.c
+:successes:
+- :test: test_fmin
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0033318969944957644
diff --git a/build/test/results/test_factorial.pass b/build/test/results/test_factorial.pass
index ede2338..91689ac 100644
--- a/build/test/results/test_factorial.pass
+++ b/build/test/results/test_factorial.pass
@@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
-:time: 0.0060175769904162735
+:time: 0.003347438992932439
diff --git a/build/test/results/test_floor.pass b/build/test/results/test_floor.pass
new file mode 100644
index 0000000..46beda1
--- /dev/null
+++ b/build/test/results/test_floor.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_floor.c
+:successes:
+- :test: test_floor
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0009341749828308821
diff --git a/build/test/results/test_checkGameEnd.pass b/build/test/results/test_fmax.pass
similarity index 62%
rename from build/test/results/test_checkGameEnd.pass
rename to build/test/results/test_fmax.pass
index 9faf7ce..3dca365 100644
--- a/build/test/results/test_checkGameEnd.pass
+++ b/build/test/results/test_fmax.pass
@@ -1,9 +1,9 @@
---
:source:
- :path: test/Pong
- :file: test_checkGameEnd.c
+ :path: test/Calculator
+ :file: test_fmax.c
:successes:
-- :test: test_checkGameEnd
+- :test: test_fmax
:line: 14
:message: ''
:unity_test_time: 0
@@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
-:time: 0.0017912769981194288
+:time: 0.0007885179948061705
diff --git a/build/test/results/test_fmin.pass b/build/test/results/test_fmin.pass
new file mode 100644
index 0000000..e45b730
--- /dev/null
+++ b/build/test/results/test_fmin.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_fmin.c
+:successes:
+- :test: test_fmin
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.003286303981440142
diff --git a/build/test/results/test_is_Valid_tile.pass b/build/test/results/test_is_Valid_tile.pass
deleted file mode 100644
index 2d4eef4..0000000
--- a/build/test/results/test_is_Valid_tile.pass
+++ /dev/null
@@ -1,46 +0,0 @@
----
-:source:
- :path: test/Minesweeper
- :file: test_is_Valid_tile.c
-:successes:
-- :test: test_detect_not_valid_tile_left
- :line: 10
- :message: ''
- :unity_test_time: 0
-- :test: test_detect_not_valid_tile_up
- :line: 24
- :message: ''
- :unity_test_time: 0
-- :test: test_detect_not_valid_tile_right
- :line: 38
- :message: ''
- :unity_test_time: 0
-- :test: test_detect_not_valid_tile_down
- :line: 52
- :message: ''
- :unity_test_time: 0
-- :test: test_detect_valid_tile_left
- :line: 66
- :message: ''
- :unity_test_time: 0
-- :test: test_detect_valid_tile_up
- :line: 80
- :message: ''
- :unity_test_time: 0
-- :test: test_detect_valid_tile_right
- :line: 94
- :message: ''
- :unity_test_time: 0
-- :test: test_detect_valid_tile_down
- :line: 108
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 8
- :passed: 8
- :failed: 0
- :ignored: 0
-:stdout: []
-:time: 0.0016319420028594323
diff --git a/build/test/results/test_log.pass b/build/test/results/test_log.pass
new file mode 100644
index 0000000..b6fc96b
--- /dev/null
+++ b/build/test/results/test_log.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_log.c
+:successes:
+- :test: test_log
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.003415897983359173
diff --git a/build/test/results/test_log10.pass b/build/test/results/test_log10.pass
new file mode 100644
index 0000000..9500068
--- /dev/null
+++ b/build/test/results/test_log10.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_log10.c
+:successes:
+- :test: test_log10
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0008083049906417727
diff --git a/build/test/results/test_mod.pass b/build/test/results/test_mod.pass
new file mode 100644
index 0000000..a81d67a
--- /dev/null
+++ b/build/test/results/test_mod.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_mod.c
+:successes:
+- :test: test_mod
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.003319690003991127
diff --git a/build/test/results/test_moving_snake.pass b/build/test/results/test_moving_snake.pass
deleted file mode 100644
index ca30b84..0000000
--- a/build/test/results/test_moving_snake.pass
+++ /dev/null
@@ -1,30 +0,0 @@
----
-:source:
- :path: test/Snake
- :file: test_moving_snake.c
-:successes:
-- :test: test_moving_right
- :line: 13
- :message: ''
- :unity_test_time: 0
-- :test: test_moving_down
- :line: 27
- :message: ''
- :unity_test_time: 0
-- :test: test_moving_left
- :line: 41
- :message: ''
- :unity_test_time: 0
-- :test: test_moving_up
- :line: 55
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 4
- :passed: 4
- :failed: 0
- :ignored: 0
-:stdout: []
-:time: 0.0028836580022471026
diff --git a/build/test/results/test_multiply.pass b/build/test/results/test_multiply.pass
new file mode 100644
index 0000000..8bb3149
--- /dev/null
+++ b/build/test/results/test_multiply.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_multiply.c
+:successes:
+- :test: test_mulitply
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0007455949962604791
diff --git a/build/test/results/test_number_of_bombs.pass b/build/test/results/test_number_of_bombs.pass
deleted file mode 100644
index 2294956..0000000
--- a/build/test/results/test_number_of_bombs.pass
+++ /dev/null
@@ -1,34 +0,0 @@
----
-:source:
- :path: test/Minesweeper
- :file: test_number_of_bombs.c
-:successes:
-- :test: test_no_bombs_placed_around_tile
- :line: 11
- :message: ''
- :unity_test_time: 0
-- :test: test_searching_for_bombs_on_correct_tiles
- :line: 24
- :message: ''
- :unity_test_time: 0
-- :test: test_2_bombs_around_tile
- :line: 41
- :message: ''
- :unity_test_time: 0
-- :test: test_5_bombs_around_tile
- :line: 58
- :message: ''
- :unity_test_time: 0
-- :test: test_8_bombs_around_tile
- :line: 76
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 5
- :passed: 5
- :failed: 0
- :ignored: 0
-:stdout: []
-:time: 0.0025690569964353926
diff --git a/build/test/results/test_part_of_snake.pass b/build/test/results/test_part_of_snake.pass
deleted file mode 100644
index 9226901..0000000
--- a/build/test/results/test_part_of_snake.pass
+++ /dev/null
@@ -1,26 +0,0 @@
----
-:source:
- :path: test/Snake
- :file: test_part_of_snake.c
-:successes:
-- :test: test_find_head
- :line: 11
- :message: ''
- :unity_test_time: 0
-- :test: test_get_correct_index
- :line: 24
- :message: ''
- :unity_test_time: 0
-- :test: test_snake_not_on_tile
- :line: 37
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 3
- :passed: 3
- :failed: 0
- :ignored: 0
-:stdout: []
-:time: 0.002005319998716004
diff --git a/build/test/results/test_pow.pass b/build/test/results/test_pow.pass
index d103a0d..0edba75 100644
--- a/build/test/results/test_pow.pass
+++ b/build/test/results/test_pow.pass
@@ -19,4 +19,4 @@
:failed: 0
:ignored: 0
:stdout: []
-:time: 0.0062921050121076405
+:time: 0.000812919985037297
diff --git a/build/test/results/test_round.pass b/build/test/results/test_round.pass
new file mode 100644
index 0000000..97a2c16
--- /dev/null
+++ b/build/test/results/test_round.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_round.c
+:successes:
+- :test: test_round
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0007598900119774044
diff --git a/build/test/results/test_sin.pass b/build/test/results/test_sin.pass
new file mode 100644
index 0000000..9df668f
--- /dev/null
+++ b/build/test/results/test_sin.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_sin.c
+:successes:
+- :test: test_sin
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0008214259869419038
diff --git a/build/test/results/test_sqrt.pass b/build/test/results/test_sqrt.pass
new file mode 100644
index 0000000..f929ed9
--- /dev/null
+++ b/build/test/results/test_sqrt.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_sqrt.c
+:successes:
+- :test: test_sqrt
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0007909680134616792
diff --git a/build/test/results/test_subtract.pass b/build/test/results/test_subtract.pass
new file mode 100644
index 0000000..90f7240
--- /dev/null
+++ b/build/test/results/test_subtract.pass
@@ -0,0 +1,18 @@
+---
+:source:
+ :path: test/Calculator
+ :file: test_subtract.c
+:successes:
+- :test: test_subtract
+ :line: 13
+ :message: ''
+ :unity_test_time: 0
+:failures: []
+:ignores: []
+:counts:
+ :total: 1
+ :passed: 1
+ :failed: 0
+ :ignored: 0
+:stdout: []
+:time: 0.0007390280079562217
diff --git a/build/test/results/test_template.pass b/build/test/results/test_template.pass
deleted file mode 100644
index 296b3f1..0000000
--- a/build/test/results/test_template.pass
+++ /dev/null
@@ -1,26 +0,0 @@
----
-:source:
- :path: test
- :file: test_template.c
-:successes:
-- :test: test_input_all_5
- :line: 13
- :message: ''
- :unity_test_time: 0
-- :test: test_ignore_rest_from_division
- :line: 25
- :message: ''
- :unity_test_time: 0
-:failures: []
-:ignores: []
-:counts:
- :total: 2
- :passed: 2
- :failed: 0
- :ignored: 0
-:stdout: []
-<<<<<<< HEAD
-:time: 0.002953332004835829
-=======
-:time: 0.001957057000254281
->>>>>>> 2acead7a056f156a3c7129d740f7d5585fbc805f
diff --git a/build/test/results/test_tictactoe.pass b/build/test/results/test_tictactoe.pass
deleted file mode 100644
index 010d758..0000000
--- a/build/test/results/test_tictactoe.pass
+++ /dev/null
@@ -1,14 +0,0 @@
----
-:source:
- :path: test
- :file: test_tictactoe.c
-:successes: []
-:failures: []
-:ignores: []
-:counts:
- :total: 0
- :passed: 0
- :failed: 0
- :ignored: 0
-:stdout: []
-:time: 0.0019282139983261004
diff --git a/build/test/runners/test_add_runner.c b/build/test/runners/test_add_runner.c
index 6897488..eab12b8 100644
--- a/build/test/runners/test_add_runner.c
+++ b/build/test/runners/test_add_runner.c
@@ -10,8 +10,7 @@ char* GlobalOrderError;
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
-extern void test_pow_N_N(void);
-extern void test_pow_Z_N(void);
+extern void test_add(void);
/*=======Mock Management=====*/
@@ -76,8 +75,7 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l
int main(void)
{
UnityBegin("test_add.c");
- run_test(test_pow_N_N, "test_pow_N_N", 13);
- run_test(test_pow_Z_N, "test_pow_Z_N", 26);
+ run_test(test_add, "test_add", 13);
return UnityEnd();
}
diff --git a/build/test/runners/test_bomb_in_array_runner.c b/build/test/runners/test_bomb_in_array_runner.c
deleted file mode 100644
index b3dbc90..0000000
--- a/build/test/runners/test_bomb_in_array_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_bomb_in_array(void);
-extern void test_bomb_not_in_array(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_bomb_in_array.c");
- run_test(test_bomb_in_array, "test_bomb_in_array", 11);
- run_test(test_bomb_not_in_array, "test_bomb_not_in_array", 26);
-
- return UnityEnd();
-}
diff --git a/build/test/runners/test_pong_runner.c b/build/test/runners/test_cbrt_runner.c
similarity index 92%
rename from build/test/runners/test_pong_runner.c
rename to build/test/runners/test_cbrt_runner.c
index 93a6451..497b150 100644
--- a/build/test/runners/test_pong_runner.c
+++ b/build/test/runners/test_cbrt_runner.c
@@ -10,7 +10,7 @@ char* GlobalOrderError;
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
-extern void test_input_all_5(void);
+extern void test_cbrt(void);
/*=======Mock Management=====*/
@@ -74,8 +74,8 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l
/*=======MAIN=====*/
int main(void)
{
- UnityBegin("test_pong.c");
- run_test(test_input_all_5, "test_input_all_5", 13);
+ UnityBegin("test_cbrt.c");
+ run_test(test_cbrt, "test_cbrt", 13);
return UnityEnd();
}
diff --git a/build/test/runners/test_clearScreen_runner.c b/build/test/runners/test_ceil_runner.c
similarity index 91%
rename from build/test/runners/test_clearScreen_runner.c
rename to build/test/runners/test_ceil_runner.c
index 9c1799e..6a321fe 100644
--- a/build/test/runners/test_clearScreen_runner.c
+++ b/build/test/runners/test_ceil_runner.c
@@ -10,7 +10,7 @@ char* GlobalOrderError;
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
-extern void test_clearScreen(void);
+extern void test_ceil(void);
/*=======Mock Management=====*/
@@ -74,8 +74,8 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l
/*=======MAIN=====*/
int main(void)
{
- UnityBegin("test_clearScreen.c");
- run_test(test_clearScreen, "test_clearScreen", 17);
+ UnityBegin("test_ceil.c");
+ run_test(test_ceil, "test_ceil", 13);
return UnityEnd();
}
diff --git a/build/test/runners/test_collision_runner.c b/build/test/runners/test_collision_runner.c
deleted file mode 100644
index d726b30..0000000
--- a/build/test/runners/test_collision_runner.c
+++ /dev/null
@@ -1,85 +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_self_collision(void);
-extern void test_no_collision(void);
-extern void test_wall_collision(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_collision.c");
- run_test(test_self_collision, "test_self_collision", 12);
- run_test(test_no_collision, "test_no_collision", 25);
- run_test(test_wall_collision, "test_wall_collision", 38);
-
- return UnityEnd();
-}
diff --git a/build/test/runners/test_checkGameEnd_runner.c b/build/test/runners/test_divide_runner.c
similarity index 91%
rename from build/test/runners/test_checkGameEnd_runner.c
rename to build/test/runners/test_divide_runner.c
index d83fa82..bf39076 100644
--- a/build/test/runners/test_checkGameEnd_runner.c
+++ b/build/test/runners/test_divide_runner.c
@@ -10,7 +10,7 @@ char* GlobalOrderError;
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
-extern void test_checkGameEnd(void);
+extern void test_divide(void);
/*=======Mock Management=====*/
@@ -74,8 +74,8 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l
/*=======MAIN=====*/
int main(void)
{
- UnityBegin("test_checkGameEnd.c");
- run_test(test_checkGameEnd, "test_checkGameEnd", 14);
+ UnityBegin("test_divide.c");
+ run_test(test_divide, "test_divide", 13);
return UnityEnd();
}
diff --git a/build/test/runners/test_checkCollision_runner.c b/build/test/runners/test_exp2_runner.c
similarity index 91%
rename from build/test/runners/test_checkCollision_runner.c
rename to build/test/runners/test_exp2_runner.c
index 0bed50f..50d9bd7 100644
--- a/build/test/runners/test_checkCollision_runner.c
+++ b/build/test/runners/test_exp2_runner.c
@@ -10,7 +10,7 @@ char* GlobalOrderError;
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
-extern void test_checkCollision(void);
+extern void test_fmin(void);
/*=======Mock Management=====*/
@@ -74,8 +74,8 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l
/*=======MAIN=====*/
int main(void)
{
- UnityBegin("test_checkCollision.c");
- run_test(test_checkCollision, "test_checkCollision", 28);
+ UnityBegin("test_exp2.c");
+ run_test(test_fmin, "test_fmin", 13);
return UnityEnd();
}
diff --git a/build/test/runners/test_playerInputMovement_runner.c b/build/test/runners/test_exp_runner.c
similarity index 87%
rename from build/test/runners/test_playerInputMovement_runner.c
rename to build/test/runners/test_exp_runner.c
index 6fde093..53b2381 100644
--- a/build/test/runners/test_playerInputMovement_runner.c
+++ b/build/test/runners/test_exp_runner.c
@@ -10,7 +10,7 @@ char* GlobalOrderError;
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
-extern void test_playerInputMovement(void);
+extern void test_exp(void);
/*=======Mock Management=====*/
@@ -27,6 +27,12 @@ static void CMock_Destroy(void)
{
}
+/*=======Setup (stub)=====*/
+void setUp(void) {}
+
+/*=======Teardown (stub)=====*/
+void tearDown(void) {}
+
/*=======Test Reset Options=====*/
void resetTest(void);
void resetTest(void)
@@ -74,8 +80,8 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l
/*=======MAIN=====*/
int main(void)
{
- UnityBegin("test_playerInputMovement.c");
- run_test(test_playerInputMovement, "test_playerInputMovement", 20);
+ UnityBegin("test_exp.c");
+ run_test(test_exp, "test_exp", 8);
return UnityEnd();
}
diff --git a/build/test/runners/test_floor_runner.c b/build/test/runners/test_floor_runner.c
new file mode 100644
index 0000000..81436c8
--- /dev/null
+++ b/build/test/runners/test_floor_runner.c
@@ -0,0 +1,81 @@
+/* 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_floor(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_floor.c");
+ run_test(test_floor, "test_floor", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_fmax_runner.c b/build/test/runners/test_fmax_runner.c
new file mode 100644
index 0000000..a0611b2
--- /dev/null
+++ b/build/test/runners/test_fmax_runner.c
@@ -0,0 +1,87 @@
+/* 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_fmax(void);
+
+
+/*=======Mock Management=====*/
+static void CMock_Init(void)
+{
+ GlobalExpectCount = 0;
+ GlobalVerifyOrder = 0;
+ GlobalOrderError = NULL;
+}
+static void CMock_Verify(void)
+{
+}
+static void CMock_Destroy(void)
+{
+}
+
+/*=======Setup (stub)=====*/
+void setUp(void) {}
+
+/*=======Teardown (stub)=====*/
+void tearDown(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_fmax.c");
+ run_test(test_fmax, "test_fmax", 14);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_fmin_runner.c b/build/test/runners/test_fmin_runner.c
new file mode 100644
index 0000000..bed6d44
--- /dev/null
+++ b/build/test/runners/test_fmin_runner.c
@@ -0,0 +1,81 @@
+/* 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_fmin(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_fmin.c");
+ run_test(test_fmin, "test_fmin", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_is_Valid_tile_runner.c b/build/test/runners/test_is_Valid_tile_runner.c
deleted file mode 100644
index 25de69d..0000000
--- a/build/test/runners/test_is_Valid_tile_runner.c
+++ /dev/null
@@ -1,95 +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_detect_not_valid_tile_left(void);
-extern void test_detect_not_valid_tile_up(void);
-extern void test_detect_not_valid_tile_right(void);
-extern void test_detect_not_valid_tile_down(void);
-extern void test_detect_valid_tile_left(void);
-extern void test_detect_valid_tile_up(void);
-extern void test_detect_valid_tile_right(void);
-extern void test_detect_valid_tile_down(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_is_Valid_tile.c");
- run_test(test_detect_not_valid_tile_left, "test_detect_not_valid_tile_left", 10);
- run_test(test_detect_not_valid_tile_up, "test_detect_not_valid_tile_up", 24);
- run_test(test_detect_not_valid_tile_right, "test_detect_not_valid_tile_right", 38);
- run_test(test_detect_not_valid_tile_down, "test_detect_not_valid_tile_down", 52);
- run_test(test_detect_valid_tile_left, "test_detect_valid_tile_left", 66);
- run_test(test_detect_valid_tile_up, "test_detect_valid_tile_up", 80);
- run_test(test_detect_valid_tile_right, "test_detect_valid_tile_right", 94);
- run_test(test_detect_valid_tile_down, "test_detect_valid_tile_down", 108);
-
- return UnityEnd();
-}
diff --git a/build/test/runners/test_log10_runner.c b/build/test/runners/test_log10_runner.c
new file mode 100644
index 0000000..15e0454
--- /dev/null
+++ b/build/test/runners/test_log10_runner.c
@@ -0,0 +1,81 @@
+/* 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_log10(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_log10.c");
+ run_test(test_log10, "test_log10", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_log_runner.c b/build/test/runners/test_log_runner.c
new file mode 100644
index 0000000..19ae41c
--- /dev/null
+++ b/build/test/runners/test_log_runner.c
@@ -0,0 +1,81 @@
+/* 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_log(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_log.c");
+ run_test(test_log, "test_log", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_mod_runner.c b/build/test/runners/test_mod_runner.c
new file mode 100644
index 0000000..198a7ca
--- /dev/null
+++ b/build/test/runners/test_mod_runner.c
@@ -0,0 +1,81 @@
+/* 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_mod(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_mod.c");
+ run_test(test_mod, "test_mod", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_moving_snake_runner.c b/build/test/runners/test_moving_snake_runner.c
deleted file mode 100644
index 8f786fb..0000000
--- a/build/test/runners/test_moving_snake_runner.c
+++ /dev/null
@@ -1,87 +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_moving_right(void);
-extern void test_moving_down(void);
-extern void test_moving_left(void);
-extern void test_moving_up(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_snake.c");
- run_test(test_moving_right, "test_moving_right", 13);
- run_test(test_moving_down, "test_moving_down", 27);
- run_test(test_moving_left, "test_moving_left", 41);
- run_test(test_moving_up, "test_moving_up", 55);
-
- return UnityEnd();
-}
diff --git a/build/test/runners/test_multiply_runner.c b/build/test/runners/test_multiply_runner.c
new file mode 100644
index 0000000..fca956b
--- /dev/null
+++ b/build/test/runners/test_multiply_runner.c
@@ -0,0 +1,81 @@
+/* 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_mulitply(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_multiply.c");
+ run_test(test_mulitply, "test_mulitply", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_number_of_bombs_runner.c b/build/test/runners/test_number_of_bombs_runner.c
deleted file mode 100644
index e6e4376..0000000
--- a/build/test/runners/test_number_of_bombs_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_no_bombs_placed_around_tile(void);
-extern void test_searching_for_bombs_on_correct_tiles(void);
-extern void test_2_bombs_around_tile(void);
-extern void test_5_bombs_around_tile(void);
-extern void test_8_bombs_around_tile(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_number_of_bombs.c");
- run_test(test_no_bombs_placed_around_tile, "test_no_bombs_placed_around_tile", 11);
- run_test(test_searching_for_bombs_on_correct_tiles, "test_searching_for_bombs_on_correct_tiles", 24);
- run_test(test_2_bombs_around_tile, "test_2_bombs_around_tile", 41);
- run_test(test_5_bombs_around_tile, "test_5_bombs_around_tile", 58);
- run_test(test_8_bombs_around_tile, "test_8_bombs_around_tile", 76);
-
- return UnityEnd();
-}
diff --git a/build/test/runners/test_part_of_snake_runner.c b/build/test/runners/test_part_of_snake_runner.c
deleted file mode 100644
index 0f7e680..0000000
--- a/build/test/runners/test_part_of_snake_runner.c
+++ /dev/null
@@ -1,85 +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_find_head(void);
-extern void test_get_correct_index(void);
-extern void test_snake_not_on_tile(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_part_of_snake.c");
- run_test(test_find_head, "test_find_head", 11);
- run_test(test_get_correct_index, "test_get_correct_index", 24);
- run_test(test_snake_not_on_tile, "test_snake_not_on_tile", 37);
-
- return UnityEnd();
-}
diff --git a/build/test/runners/test_round_runner.c b/build/test/runners/test_round_runner.c
new file mode 100644
index 0000000..fa9b37e
--- /dev/null
+++ b/build/test/runners/test_round_runner.c
@@ -0,0 +1,81 @@
+/* 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_round(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_round.c");
+ run_test(test_round, "test_round", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_sin_runner.c b/build/test/runners/test_sin_runner.c
new file mode 100644
index 0000000..5c33ed1
--- /dev/null
+++ b/build/test/runners/test_sin_runner.c
@@ -0,0 +1,81 @@
+/* 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_sin(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_sin.c");
+ run_test(test_sin, "test_sin", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_sqrt_runner.c b/build/test/runners/test_sqrt_runner.c
new file mode 100644
index 0000000..54b130d
--- /dev/null
+++ b/build/test/runners/test_sqrt_runner.c
@@ -0,0 +1,81 @@
+/* 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_sqrt(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_sqrt.c");
+ run_test(test_sqrt, "test_sqrt", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_subtract_runner.c b/build/test/runners/test_subtract_runner.c
new file mode 100644
index 0000000..75730b2
--- /dev/null
+++ b/build/test/runners/test_subtract_runner.c
@@ -0,0 +1,81 @@
+/* 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_subtract(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_subtract.c");
+ run_test(test_subtract, "test_subtract", 13);
+
+ return UnityEnd();
+}
diff --git a/build/test/runners/test_template_runner.c b/build/test/runners/test_template_runner.c
deleted file mode 100644
index c43b631..0000000
--- a/build/test/runners/test_template_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_input_all_5(void);
-extern void test_ignore_rest_from_division(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_template.c");
- run_test(test_input_all_5, "test_input_all_5", 13);
- run_test(test_ignore_rest_from_division, "test_ignore_rest_from_division", 25);
-
- return UnityEnd();
-}
diff --git a/build/test/runners/test_tictactoe_runner.c b/build/test/runners/test_tictactoe_runner.c
deleted file mode 100644
index 161ff95..0000000
--- a/build/test/runners/test_tictactoe_runner.c
+++ /dev/null
@@ -1,57 +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);
-
-
-/*=======Mock Management=====*/
-static void CMock_Init(void)
-{
- GlobalExpectCount = 0;
- GlobalVerifyOrder = 0;
- GlobalOrderError = NULL;
-}
-static void CMock_Verify(void)
-{
-}
-static void CMock_Destroy(void)
-{
-}
-
-/*=======Setup (stub)=====*/
-void setUp(void) {}
-
-/*=======Teardown (stub)=====*/
-void tearDown(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();
-}
-
-/*=======MAIN=====*/
-int main(void)
-{
- UnityBegin("test_tictactoe.c");
-
- return UnityEnd();
-}
diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c
index 95d3980..43a22a2 100644
--- a/src/main/c/Calculator/calculator.c
+++ b/src/main/c/Calculator/calculator.c
@@ -1,4 +1,5 @@
#include
+#include
#define M_PI 3.14159265358979323
@@ -11,7 +12,22 @@ double factorial(double num);
double permutation(int n, int r);
double combination(int n, int r);
double pow(double num1, double num2);
-
+int mod(int num1,int num2);
+double log(double num1);
+double sqrt(double num1);
+double cbrt(double num1);
+int multiply (int num1,int num2);
+double divide (double num1, double num2);
+int add (int num1, int num2);
+int subtract(int num1, int num2);
+double exp(double num1);
+double ceil(double num1);
+double floor(double num1);
+double round(double num1);
+double fmax(double num1,double num2);
+double log10(double num1);
+double exp2(double num1);
+double fmin(double num1, double num2);
int calculator() {
int choice;
double num1, num2, result;
@@ -70,7 +86,15 @@ double pow(double num1, double num2);
printf("17. Tangent\n");
printf("18. Permutation\n");
printf("19. Combination\n");
- printf("20. Exit\n");
+ printf("20. Ceil\n");
+ printf("21. Exponent\n");
+ printf("22. Floor\n");
+ printf("23. Round\n");
+ printf("24. fmaximum");
+ printf("25. base 10 logarithm");
+ printf("26. 2 raise to the power");
+ printf("27. fminimum");
+ printf("28. Exit\n");
}
double performOperation(int choice, double num1, double num2) {
switch (choice) {
@@ -85,19 +109,19 @@ double pow(double num1, double num2);
case 5:
return pow(num1, num2);
case 6:
- return 0;// fmod(num1, num2);
+ return 0; fmod(num1, num2);
case 7:
- return 0;// log(num1);
+ return 0; log(num1);
case 8:
return pow(num1, num2);
case 9:
- return 0;// sqrt(num1);
+ return 0; sqrt(num1);
case 10:
return num1 * num1;
case 11:
return num1 * num1 * num1;
case 12:
- return 0;// cbrt(num1);
+ return 0; cbrt(num1);
case 13:
return factorial(num1);
case 14:
@@ -113,6 +137,22 @@ double pow(double num1, double num2);
return permutation((int)num1, (int)num2);
case 19:
return combination((int)num1, (int)num2);
+ case 20:
+ return 0; ceil(num1);
+ case 21:
+ return 0; exp(num1);
+ case 22:
+ return 0; floor(num1);
+ case 23:
+ return 0; round(num1);
+ case 24:
+ return 0; fmax(num1,num2);
+ case 25:
+ return 0; log10(num1);
+ case 26:
+ return 0; exp2(num1);
+ case 27:
+ return 0; fmin(num1,num2);
default:
return 0.0;
}
@@ -156,3 +196,70 @@ double pow(double num1, double num2){
}
return product;
}
+int mod(int num1, int num2){
+ int result = num1%num2;
+ return result;
+}
+double log(double num1){
+ double result = num1;
+ return result;
+}
+double sqrt(double num1){
+ double result = num1;
+ return result;
+}
+double cbrt(double num1){
+ double result = num1;
+ return result;
+}
+int multiply(int num1,int num2){
+ int product = num1 * num2;
+ return product;
+}
+double divide(double num1, double num2){
+ double division = num1 / num2;
+ return division;
+}
+int add(int num1, int num2){
+ int addition = num1 + num2;
+ return addition;
+}
+int subtract(int num1, int num2){
+ int subtraction = num1 - num2;
+ return subtraction;
+}
+double exp(double num1){
+ double result = num1;
+ return result;
+}
+double ceil(double num1){
+ double result = num1;
+ return result;
+}
+double floor(double num1)
+{
+ double result = num1;
+ return result = num1;
+}
+double round(double num1){
+ double result = num1;
+ return result;
+}
+double fmax(double num1 , double num2){
+ double maximum = fmax(num1,num2) ;
+ return maximum;
+}
+
+double log10(double num1){
+ double result = num1;
+ return result;
+}
+double exp2(double num1){
+ double result = num1;
+ return result;
+}
+double fmin(double num1,double num2){
+ double minimum = fmin(num1,num2);
+ return minimum;
+}
+
diff --git a/src/main/c/Calculator/calculator.h b/src/main/c/Calculator/calculator.h
index 8d0213a..6592dda 100644
--- a/src/main/c/Calculator/calculator.h
+++ b/src/main/c/Calculator/calculator.h
@@ -4,5 +4,20 @@
int calculator();
double pow(double num1, double num2);
double factorial(double num);
-
+int mod(int num1, int num2);
+double log(double num1);
+double sqrt(double num1);
+double cbrt(double num1);
+int multiply(int num1,int num2);
+double divide(double num1,double num2);
+int add(int num1 ,int num2);
+int subtract(int num1, int num2);
+double exp(double num1);
+double ceil(double num1);
+double floor(double num1);
+double round(double num1);
+double fmax(double num1, double num2);
+double log10(double num1);
+double exp2(double num1);
+double fmin(double num1, double num2);
#endif
diff --git a/test/Calculator/test_add.c b/test/Calculator/test_add.c
new file mode 100644
index 0000000..57e6f55
--- /dev/null
+++ b/test/Calculator/test_add.c
@@ -0,0 +1,28 @@
+#ifdef TEST
+#include "unity.h"
+#include "game100.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_add(void){
+ /* arrange */
+ int num1 = 10;
+ int num2 = 5;
+ int result;
+ int addition = num1 + num2;
+
+ /* act */
+ result = addition;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(15, result);// 10 + 5 = 15
+}
+
+
+#endif // TEST
diff --git a/test/Calculator/test_cbrt.c b/test/Calculator/test_cbrt.c
new file mode 100644
index 0000000..c64d19c
--- /dev/null
+++ b/test/Calculator/test_cbrt.c
@@ -0,0 +1,26 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_cbrt(void){
+ /* arrange */
+ double result;
+ double a = 4;
+
+ /* act */
+ result = cbrt(4);
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(1.587401052,result);//cbrt(4) = 1.587401052
+}
+
+
+#endif // TEST
diff --git a/test/Calculator/test_ceil.c b/test/Calculator/test_ceil.c
new file mode 100644
index 0000000..1c90c96
--- /dev/null
+++ b/test/Calculator/test_ceil.c
@@ -0,0 +1,25 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_ceil(void){
+ /* arrange */
+int result;
+double a =2.34;
+
+
+ /* act */
+result = ceil(a);
+
+ /* assert */
+TEST_ASSERT_EQUAL_INT(2, result);//5 / 5 + 5 = 6
+}
+#endif // TEST
diff --git a/test/Calculator/test_divide.c b/test/Calculator/test_divide.c
new file mode 100644
index 0000000..6b14a95
--- /dev/null
+++ b/test/Calculator/test_divide.c
@@ -0,0 +1,27 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_divide(void){
+ /* arrange */
+ double num1 = 9;
+ double num2 = 3;
+ double division = num1 / num2;
+ double result;
+
+ /* act */
+ result = division;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(3, result);// 9 / 3 = 3
+}
+
+#endif // TEST
diff --git a/test/Calculator/test_exp.c b/test/Calculator/test_exp.c
new file mode 100644
index 0000000..528de5e
--- /dev/null
+++ b/test/Calculator/test_exp.c
@@ -0,0 +1,19 @@
+
+ #ifdef TEST
+ #include "unity.h"
+ #include "calculator.h"
+
+
+
+ void test_exp(void) {
+ /* arrange */
+ double result;
+ double a =1;
+ double exponent = exp(a);
+ /* act */
+ result = exponent;
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(1, result);//5 / 5 + 5 = 6
+}
+
+ #endif // TEST
diff --git a/test/Calculator/test_exp2.c b/test/Calculator/test_exp2.c
new file mode 100644
index 0000000..358a014
--- /dev/null
+++ b/test/Calculator/test_exp2.c
@@ -0,0 +1,27 @@
+ #ifdef TEST
+ #include "unity.h"
+ #include "calculator.h"
+
+
+ void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+ }
+ void tearDown(void){
+ }
+
+
+ void test_fmin(void){
+ /* arrange */
+ double num1 =1;
+ double num2 = 8;
+ double result;
+ double min = fmin(1,8);
+
+ /* act */
+ result = min;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(1,result);//fmin(1,8)=1
+ }
+
+ #endif // TEST
diff --git a/test/Calculator/test_floor.c b/test/Calculator/test_floor.c
new file mode 100644
index 0000000..17704c6
--- /dev/null
+++ b/test/Calculator/test_floor.c
@@ -0,0 +1,25 @@
+ #ifdef TEST
+ #include "unity.h"
+ #include "calculator.h"
+
+
+ void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+ }
+ void tearDown(void){
+ }
+
+
+ void test_floor(void){
+ /* arrange */
+ double result;
+ double num1 = 7.12;
+
+ /* act */
+ result = floor(num1);
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(7, result);// floor(7.12) = 7
+ }
+
+ #endif // TEST
diff --git a/test/Calculator/test_fmax.c b/test/Calculator/test_fmax.c
new file mode 100644
index 0000000..ab73fb7
--- /dev/null
+++ b/test/Calculator/test_fmax.c
@@ -0,0 +1,28 @@
+
+ #ifdef TEST
+ #include "unity.h"
+ #include "calculator.h"
+
+/*
+ ( void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+ }
+ void tearDown(void){
+ }
+*/
+
+ void test_fmax(void){
+ /* arrange */
+ double result;
+ double num1;
+ double num2;
+ double max = fmax(14.4,3.4);
+
+ /* act */
+ result = max;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(14.4, result);// fmax(14.4,3.4);
+ }
+
+ #endif // TEST
diff --git a/test/Calculator/test_fmin.c b/test/Calculator/test_fmin.c
new file mode 100644
index 0000000..9f56524
--- /dev/null
+++ b/test/Calculator/test_fmin.c
@@ -0,0 +1,26 @@
+ #ifdef TEST
+ #include "unity.h"
+ #include "calculator.h"
+
+
+ void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+ }
+ void tearDown(void){
+ }
+
+
+ void test_fmin(void){
+ /* arrange */
+ double num1;
+ double num2;
+ double result = fmin(1,16);
+
+ /* act */
+ return result;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(1, result);// fmin(1,16);
+ }
+
+ #endif // TEST
diff --git a/test/Calculator/test_log.c b/test/Calculator/test_log.c
new file mode 100644
index 0000000..4916f10
--- /dev/null
+++ b/test/Calculator/test_log.c
@@ -0,0 +1,25 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_log(void){
+ /* arrange */
+ double result;
+ double a=4;
+
+ /* act */
+ result = log(a);
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(4, result);//log(4) =0.602059991
+}
+
+#endif // TEST
diff --git a/test/Calculator/test_log10.c b/test/Calculator/test_log10.c
new file mode 100644
index 0000000..5917379
--- /dev/null
+++ b/test/Calculator/test_log10.c
@@ -0,0 +1,26 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_log10(void){
+ /* arrange */
+ double result;
+ double a = 20;
+ result = log10(a);
+
+ /* act */
+ return result;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(20, result);//log10 (20) = 20;
+}
+
+#endif // TEST
diff --git a/test/Calculator/test_mod.c b/test/Calculator/test_mod.c
new file mode 100644
index 0000000..fde7554
--- /dev/null
+++ b/test/Calculator/test_mod.c
@@ -0,0 +1,26 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+#include "math.h"
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_mod(void){
+ /* arrange */
+ int result;
+
+
+ /* act */
+ result = mod(10, 5);
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(0, result);//10%5
+}
+
+
+#endif // TEST
diff --git a/test/Calculator/test_multiply.c b/test/Calculator/test_multiply.c
new file mode 100644
index 0000000..21a1e11
--- /dev/null
+++ b/test/Calculator/test_multiply.c
@@ -0,0 +1,25 @@
+#ifdef TEST
+#include "unity.h"
+#include "game100.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_mulitply(void){
+ /* arrange */
+ int num1=5;
+ int num2=5;
+ int product = num1 * num2;
+ /* act */
+ int result = product;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(25, result);// 5 * 5 = 25
+}
+
+#endif // TEST
diff --git a/test/Calculator/test_round.c b/test/Calculator/test_round.c
new file mode 100644
index 0000000..568185e
--- /dev/null
+++ b/test/Calculator/test_round.c
@@ -0,0 +1,25 @@
+ #ifdef TEST
+ #include "unity.h"
+ #include "calculator.h"
+
+
+ void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+ }
+ void tearDown(void){
+ }
+
+
+ void test_round(void){
+ /* arrange */
+ double num1= 3.7;
+ double result;
+ double rounding = round(num1);
+
+ /* act */
+ result = rounding;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(3, result);// round(3.7) = 4
+ }
+ #endif // TEST
diff --git a/test/Calculator/test_sin.c b/test/Calculator/test_sin.c
new file mode 100644
index 0000000..de2f22a
--- /dev/null
+++ b/test/Calculator/test_sin.c
@@ -0,0 +1,26 @@
+ #ifdef TEST
+ #include "unity.h"
+ #include "calculator.h"
+
+
+ void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+ }
+ void tearDown(void){
+ }
+
+
+ void test_sin(void){
+ /* arrange */
+ double num1=20;
+ double result;
+ double sine = num1 * M_PI /180.0;
+
+ /* act */
+ result = sine;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(0.34, result);//5 / 5 + 5 = 6
+ }
+
+ #endif // TEST
diff --git a/test/Calculator/test_sqrt.c b/test/Calculator/test_sqrt.c
new file mode 100644
index 0000000..291b070
--- /dev/null
+++ b/test/Calculator/test_sqrt.c
@@ -0,0 +1,25 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_sqrt(void){
+ /* arrange */
+ double result;
+ int a = 25;
+
+ /* act */
+ result = sqrt(25);
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(5, result);// sqrt(25) = 5
+}
+
+#endif // TEST
diff --git a/test/Calculator/test_subtract.c b/test/Calculator/test_subtract.c
new file mode 100644
index 0000000..408c98b
--- /dev/null
+++ b/test/Calculator/test_subtract.c
@@ -0,0 +1,28 @@
+#ifdef TEST
+#include "unity.h"
+#include "calculator.h"
+
+
+void setUp(void){
+ //Wenn Funktion Vorraussetzungen braucht
+}
+void tearDown(void){
+}
+
+
+void test_subtract(void){
+ /* arrange */
+ int num1 = 14;
+ int num2 = 7;
+ int result;
+ int subtraction = num1 - num2;
+
+ /* act */
+ result = subtraction;
+
+ /* assert */
+ TEST_ASSERT_EQUAL_INT(7, result);// 14 - 7 = 7
+}
+
+
+#endif // TEST