Browse Source

log_base_e Funktion test

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
b87f0a2713
  1. 6
      src/test/test_funktionen.c

6
src/test/test_funktionen.c

@ -43,4 +43,10 @@ void test_logarithm(void) {
// Add more test cases for different inputs and expected outputs // Add more test cases for different inputs and expected outputs
} }
void test_naturalLogarithm(void) {
float result = naturalLogarithm(100.0);
TEST_ASSERT_FLOAT_WITHIN(0.000001, 4.60517, result);
// Add more test cases for different inputs and expected outputs
}
#endif #endif
Loading…
Cancel
Save