From 4a5396cb7fc6bf02bf4c32a2a54c70308a1f6b2b Mon Sep 17 00:00:00 2001 From: Jonas Zitzmann Date: Fri, 9 Feb 2024 16:48:01 +0100 Subject: [PATCH] Commited Unit Test --- test/test_convert_time.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/test_convert_time.c b/test/test_convert_time.c index f4e3712..dfec27a 100644 --- a/test/test_convert_time.c +++ b/test/test_convert_time.c @@ -23,3 +23,10 @@ void test_convert_time_mintosec(void){ result = converter_min_to_sec(1.0); TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); } + +void test_convert_time_hourtomin(void){ + double expectedResult = 60.0; + double result; + result = converter_hour_to_min(1.0); + TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); +}