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