diff --git a/src/test/c/test_taschenrechner.c b/src/test/c/test_taschenrechner.c index cf6c739..a5dcd59 100644 --- a/src/test/c/test_taschenrechner.c +++ b/src/test/c/test_taschenrechner.c @@ -109,5 +109,10 @@ void test_ConTime(void) {//5 ms to s } +// Square root function +void test_squareRootFunction(void) { + TEST_ASSERT_EQUAL_FLOAT(2.0, squareRootFunction(4.0)); +} + #endif // TEST