diff --git a/build/artifacts/release/project.out b/build/artifacts/release/project.out index b89a690..7e9f672 100755 Binary files a/build/artifacts/release/project.out and b/build/artifacts/release/project.out differ diff --git a/build/release/out/c/main.o b/build/release/out/c/main.o index 1619821..b7d6436 100644 Binary files a/build/release/out/c/main.o and b/build/release/out/c/main.o differ diff --git a/build/release/project.out b/build/release/project.out index b89a690..7e9f672 100755 Binary files a/build/release/project.out and b/build/release/project.out differ diff --git a/build/test/cache/test_template.c b/build/test/cache/test_template.c index ae399bd..d967090 100644 --- a/build/test/cache/test_template.c +++ b/build/test/cache/test_template.c @@ -1,6 +1,5 @@ -#include "test/../src/main/c/Template/game100.h" - - +#include "src/main/c/Template/game100.h" +#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" @@ -37,7 +36,11 @@ void test_input_all_5(void){ - TEST_ASSERT_EQUAL_INT(6, result); + UnityAssertEqualNumber((UNITY_INT)((6)), (UNITY_INT)((result)), ( + + ((void *)0) + + ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT); } @@ -61,6 +64,10 @@ void test_ignore_rest_from_division(void){ - TEST_ASSERT_EQUAL_INT(5, result); + UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), ( + + ((void *)0) + + ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT); } diff --git a/build/test/dependencies/test_template.d b/build/test/dependencies/test_template.d index 7b1658f..a0df7d1 100644 --- a/build/test/dependencies/test_template.d +++ b/build/test/dependencies/test_template.d @@ -1,2 +1,4 @@ build/test/out/c/test_template.o: test/test_template.c \ - test/../src/main/c/Template/game100.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 \ + src/main/c/Template/game100.h diff --git a/build/test/out/c/test_template.o b/build/test/out/c/test_template.o index c6b0a96..73f7868 100644 Binary files a/build/test/out/c/test_template.o and b/build/test/out/c/test_template.o differ diff --git a/build/test/out/test_template.out b/build/test/out/test_template.out new file mode 100755 index 0000000..8156bef Binary files /dev/null and b/build/test/out/test_template.out differ diff --git a/build/test/preprocess/files/test_template.c b/build/test/preprocess/files/test_template.c index ae399bd..d967090 100644 --- a/build/test/preprocess/files/test_template.c +++ b/build/test/preprocess/files/test_template.c @@ -1,6 +1,5 @@ -#include "test/../src/main/c/Template/game100.h" - - +#include "src/main/c/Template/game100.h" +#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" @@ -37,7 +36,11 @@ void test_input_all_5(void){ - TEST_ASSERT_EQUAL_INT(6, result); + UnityAssertEqualNumber((UNITY_INT)((6)), (UNITY_INT)((result)), ( + + ((void *)0) + + ), (UNITY_UINT)(21), UNITY_DISPLAY_STYLE_INT); } @@ -61,6 +64,10 @@ void test_ignore_rest_from_division(void){ - TEST_ASSERT_EQUAL_INT(5, result); + UnityAssertEqualNumber((UNITY_INT)((5)), (UNITY_INT)((result)), ( + + ((void *)0) + + ), (UNITY_UINT)(33), UNITY_DISPLAY_STYLE_INT); } diff --git a/build/test/preprocess/includes/test_template.c b/build/test/preprocess/includes/test_template.c index 38f53f5..2f39e86 100644 --- a/build/test/preprocess/includes/test_template.c +++ b/build/test/preprocess/includes/test_template.c @@ -1,2 +1,3 @@ --- -- test/../src/main/c/Template/game100.h +- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" +- src/main/c/Template/game100.h diff --git a/build/test/results/test_template.pass b/build/test/results/test_template.pass new file mode 100644 index 0000000..ac2a353 --- /dev/null +++ b/build/test/results/test_template.pass @@ -0,0 +1,22 @@ +--- +: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: [] +:time: 0.002492974977940321 diff --git a/test/test_template.c b/test/test_template.c index 109de45..a1b9ed4 100644 --- a/test/test_template.c +++ b/test/test_template.c @@ -1,6 +1,6 @@ #ifdef TEST -#include "../Unity/src/unity.h" -#include "../src/main/c/Template/game100.h" +#include "unity.h" +#include "game100.h" void setUp(void){