Skip to content

Commit f2b7050

Browse files
committed
tests: using another matcher
maybe this helps...
1 parent 1c608fc commit f2b7050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/examples/advection_diffusion/test_mpi_advection_diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ TEST(ErrorTest, MPIPFASST)
3636
vector<double> ex = { 1.1168e-13, 4.8849e-13, 5.3268e-13, 2.3059e-12 };
3737
for (auto& x: errors) {
3838
if (get_iter(x) == max_iter) {
39-
EXPECT_THAT(get_error(x), DoubleNear(ex[get_step(x)], 1e-14));
39+
EXPECT_NEAR(get_error(x), ex[get_step(x)], 1e-14);
4040
}
4141
}
4242
}

0 commit comments

Comments
 (0)