Skip to content

Commit

Permalink
Fix test result
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Aug 30, 2023
1 parent 1559eb8 commit 7d618c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/test/image-with-dataset/testImageFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ int main(int argc, const char *argv[])
std::vector<double> expected_median_rgba = { 4, 8, 12 };
for (unsigned int i = 0; i < 3; i++) {
bool test_local = (median_rgba[i] == expected_median_rgba[i]);
test &= test;
test &= test_local;
std::cout << "(median_rgba[" << i << "] (=" << median_rgba[i] << ") == expected_median_rgba[" << i << "] ( " << expected_median_rgba[i] << "))? " << test_local << std::endl;
}
if (!test) {
Expand Down

0 comments on commit 7d618c2

Please sign in to comment.