Commit 9bbd4bc6 authored by Peter Eastman's avatar Peter Eastman
Browse files

Added tolerance to another test case

parent f62a8560
...@@ -326,7 +326,7 @@ void testArgonBox() { ...@@ -326,7 +326,7 @@ void testArgonBox() {
integrator.setMaximumStepSize(maxStep); integrator.setMaximumStepSize(maxStep);
for (int i = 0; i < 100; i++) { for (int i = 0; i < 100; i++) {
integrator.step(1); 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