package cmu.defect4j.math3.ode.nonstiff;
import gov.nasa.jpf.util.test.TestJPF;
import org.junit.Test;
public class ThreeEighthesIntegratorTest extends TestJPF {
private final String[] config = {"+nhandler.delegateUnhandledNative", "+classpath+=${jpf-core}/lib/junit-4.11.jar,lib/commons-math-3.1-SNAPSHOT.jar"};
public static void main(String[] testMethods){
runTestsOfThisClass(testMethods);
}
@Test(timeout=1000000)
public void testDecreasingSteps() throws Exception {
if (verifyNoPropertyViolation(config)) {
org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest object = new org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest();
object.testDecreasingSteps();
}
}
@Test(timeout=1000000)
public void testSmallStep() throws Exception {
if (verifyNoPropertyViolation(config)) {
org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest object = new org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest();
object.testSmallStep();
}
}
@Test(timeout=1000000)
public void testBigStep() throws Exception {
if (verifyNoPropertyViolation(config)) {
org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest object = new org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest();
object.testBigStep();
}
}
@Test(timeout=1000000)
public void testDimensionCheck() throws Exception {
if (verifyUnhandledException("org.apache.commons.math3.exception.DimensionMismatchException", config)) {
org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest object = new org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest();
object.testDimensionCheck();
}
}
@Test(timeout=1000000)
public void testBackward() throws Exception {
if (verifyNoPropertyViolation(config)) {
org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest object = new org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest();
object.testBackward();
}
}
@Test(timeout=1000000)
public void testKepler() throws Exception {
if (verifyNoPropertyViolation(config)) {
org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest object = new org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest();
object.testKepler();
}
}
@Test(timeout=1000000)
public void testStepSize() throws Exception {
if (verifyNoPropertyViolation(config)) {
org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest object = new org.apache.commons.math3.ode.nonstiff.ThreeEighthesIntegratorTest();
object.testStepSize();
}
}
}