diff --git a/build-project.sh b/build-project.sh index 43a0588..51cf723 100755 --- a/build-project.sh +++ b/build-project.sh @@ -1,4 +1,5 @@ clear +ceedling test:all cd src/ gcc main.c -o main ./main diff --git a/tests/test_displayMenuCalculator.c b/tests/test_displayMenuCalculator.c index d6a51be..66c2499 100644 --- a/tests/test_displayMenuCalculator.c +++ b/tests/test_displayMenuCalculator.c @@ -2,7 +2,7 @@ #include "unity.h" -#include "displayMenuCalculator.h" +#include "displayMenuCalculator.c" void setUp(void) { @@ -12,9 +12,13 @@ void tearDown(void) { } -void test_displayMenuCalculator_NeedToImplement(void) +void test_displayMenuCalculator(void) { - TEST_IGNORE_MESSAGE("Need to Implement displayMenuCalculator"); + int e, a; + e = 1; + a = check(); + TEST_ASSERT_EQUAL_INT(e, a); } + #endif // TEST