Commit f62a8560 authored by Peter Eastman's avatar Peter Eastman
Browse files

Added tolerance to a test case

parent 0885a51a
......@@ -305,7 +305,7 @@ void testArgonBox() {
integrator.setMaximumStepSize(maxStep);
for (int i = 0; i < 100; i++) {
integrator.step(1);
ASSERT(integrator.getStepSize() <= maxStep);
ASSERT(integrator.getStepSize() <= maxStep*1.000001);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment