Update a few tests

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-12-02 01:36:43 -05:00
parent e46d33689d
commit 37bfd34d23
2 changed files with 11 additions and 8 deletions

View File

@@ -1295,12 +1295,12 @@ TEST_CASE_METHOD(HelmholtzConsistencyFixture, "Helmholtz energy derivatives", "[
term = get(terms[i]);
for (std::size_t j = 0; j < sizeof(derivs)/sizeof(derivs[0]); ++j)
{
call(derivs[j], term, 1.3, 0.7, 1e-7);
call(derivs[j], term, 1.3, 0.7, 1e-6);
CAPTURE(derivs[j]);
CAPTURE(numerical);
CAPTURE(analytic);
CAPTURE(terms[i]);
CHECK(err(analytic, numerical) < 1e-5);
CHECK(err(analytic, numerical) < 1e-7);
}
}
}