diff --git a/src/processing/test/pedestal.test.cpp b/src/processing/test/pedestal.test.cpp index 1ad615b..a0a9140 100644 --- a/src/processing/test/pedestal.test.cpp +++ b/src/processing/test/pedestal.test.cpp @@ -98,9 +98,9 @@ TEST_CASE("test pedestal with normal distribution") { for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { // 10% tolerance - compare_floats(mean(i, j), MEAN, MEAN * TOLERANCE); - compare_floats(variance(i, j), VAR, VAR * TOLERANCE); - compare_floats(standard_deviation(i, j), STD, STD * TOLERANCE); + REQUIRE(compare_floats(mean(i, j), MEAN, MEAN * TOLERANCE)); + REQUIRE(compare_floats(variance(i, j), VAR, VAR * TOLERANCE)); + REQUIRE(compare_floats(standard_deviation(i, j), STD, STD * TOLERANCE)); // maybe sqrt of tolerance? } } } \ No newline at end of file