diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 59ea166..716b954 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -434,6 +434,19 @@ void test_convert_meter_in_dezimeter(void) TEST_ASSERT_EQUAL_INT(expected, actual); } +void test_convert_dezimeter_in_centimeter(void) +{ + /* arrange */ + int actual; + int expected = 40; + + /* act */ + actual = berechnungVonDezimeterzuCentimeter(4); + + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} + void test_stringLaenge_von_Kokosnuss(void) { /* arrange */