(self, input_data, thresholds, expected_score)
| 134 | |
| 135 | @parameterized.expand([TEST_CASE_4, TEST_CASE_5]) |
| 136 | def test_value(self, input_data, thresholds, expected_score): |
| 137 | fps_per_image, total_sensitivity = compute_froc_curve_data(**input_data) |
| 138 | score = compute_froc_score(fps_per_image, total_sensitivity, thresholds) |
| 139 | np.testing.assert_allclose(score, expected_score, rtol=1e-5) |
| 140 | |
| 141 | |
| 142 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected