@ -2,5 +2,6 @@
#define AGEINSECONDS_H
int sekunden(int jahre);
int minuten(int jahre);
#endif // AGEINSECONDS_H
@ -19,4 +19,11 @@ void test_ageinseconds_45_in_sekunden(void)
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