|
@ -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); |
|
|
|
|
|
|
|
|
} |
|
|
} |