|
@ -74,4 +74,10 @@ void test_absoluteDifference(void) { |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_maximum(void) { |
|
|
|
|
|
float result = maximum(5.0, 9.0); |
|
|
|
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 9.0, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |