Browse Source

refactoring: degreesToRadians function test, rename

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

2
src/test/test_funktionen.c

@ -173,7 +173,7 @@ void test_arcTangent_for_1_0(void) {
// Add more test cases for different inputs and expected outputs // Add more test cases for different inputs and expected outputs
} }
void test_degreesToRadians(void) {
void test_degreesToRadians_for_90_0(void) {
float result = degreesToRadians(90.0); float result = degreesToRadians(90.0);
TEST_ASSERT_EQUAL_FLOAT(1.570796, result); TEST_ASSERT_EQUAL_FLOAT(1.570796, result);
// Add more test cases for different inputs and expected outputs // Add more test cases for different inputs and expected outputs

Loading…
Cancel
Save