#ifdef TEST #include "unity.h" #include "ageinseconds.h" void setUp(void) { } void tearDown(void) { } // test sekunden void test_ageinseconds_45_in_sekunden(void) { float result = sekunden(45); TEST_ASSERT_EQUAL(1419120000, result); } // test minuten void test_ageinseconds_23_in_minuten(void) { float result = minuten(23); TEST_ASSERT_EQUAL(12088800, result); } #endif // TEST