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_calculatorGetUserInputFactorial.c b/tests/test_calculatorGetUserInputFactorial.c index 2e0ff2c..5a42adb 100644 --- a/tests/test_calculatorGetUserInputFactorial.c +++ b/tests/test_calculatorGetUserInputFactorial.c @@ -2,7 +2,7 @@ #include "unity.h" -#include "calculatorGetUserInputFactorial.h" +#include "calculatorGetUserInputFactorial.c" void setUp(void) { @@ -12,9 +12,12 @@ void tearDown(void) { } -void test_calculatorGetUserInputFactorial_NeedToImplement(void) +void test_calculatorGetUserInputFactorial(void) { - TEST_IGNORE_MESSAGE("Need to Implement calculatorGetUserInputFactorial"); + int a, e; + e = 1; + a = allowWhen(); + TEST_ASSERT_EQUAL_INT(e, a); } #endif // TEST