Browse Source

test sine funktion version 2

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
b92941d197
  1. 2
      src/test/test_funktionen.c

2
src/test/test_funktionen.c

@ -140,7 +140,7 @@ void test_howManyTimes_e_appearsIn_Beere(void)
void test_sine(void) { void test_sine(void) {
float result = sine(0.5); float result = sine(0.5);
TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.479426, result);
TEST_ASSERT_EQUAL_FLOAT(0.479426, result);
} }
#endif #endif
Loading…
Cancel
Save