diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 37852c4..28ea824 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -137,4 +137,10 @@ void test_howManyTimes_e_appearsIn_Beere(void) TEST_ASSERT_EQUAL_INT(expected, actual); } + +void test_sine(void) { + float result = sine(0.5); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.479426, result); +} + #endif \ No newline at end of file