diff --git a/test/test_convert_time.c b/test/test_convert_time.c new file mode 100644 index 0000000..0447a7f --- /dev/null +++ b/test/test_convert_time.c @@ -0,0 +1,18 @@ +#include "../src/convert_time.h" +#include "unity.h" +#include "limits.h" + +void setUp(void) { + // set stuff up here +} + +void tearDown(void) { + // clean stuff up here +} + +void test_convert_time_sectomin(void){ + double expectedResult = 1.0; + double result; + result = converter_sec_to_min(60.0); + TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); +}