package cmu.defect4j.math3.linear; import gov.nasa.jpf.util.test.TestJPF; import org.junit.Test; public class Array2DRowRealMatrixTest 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 testScalarAdd() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testScalarAdd(); } } @Test(timeout=1000000) public void testNorm() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testNorm(); } } @Test(timeout=1000000) public void testToString() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testToString(); } } @Test(timeout=1000000) public void testEqualsAndHashCode() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testEqualsAndHashCode(); } } @Test(timeout=1000000) public void testDimensions() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testDimensions(); } } @Test(timeout=1000000) public void testCopyFunctions() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testCopyFunctions(); } } @Test(timeout=1000000) public void testAddFail() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testAddFail(); } } @Test(timeout=1000000) public void testFrobeniusNorm() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testFrobeniusNorm(); } } @Test(timeout=1000000) public void testPlusMinus() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testPlusMinus(); } } @Test(timeout=1000000) public void testMultiply2() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testMultiply2(); } } @Test(timeout=1000000) public void testPower() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testPower(); } } @Test(timeout=1000000) public void testTrace() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testTrace(); } } @Test(timeout=1000000) public void testOperate() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testOperate(); } } @Test(timeout=1000000) public void testMath209() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testMath209(); } } @Test(timeout=1000000) public void testTranspose() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testTranspose(); } } @Test(timeout=1000000) public void testPremultiplyVector() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testPremultiplyVector(); } } @Test(timeout=1000000) public void testPremultiply() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testPremultiply(); } } @Test(timeout=1000000) public void testGetVectors() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetVectors(); } } @Test(timeout=1000000) public void testGetEntry() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetEntry(); } } @Test(timeout=1000000) public void testExamples() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testExamples(); } } @Test(timeout=1000000) public void testGetSubMatrix() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetSubMatrix(); } } @Test(timeout=1000000) public void testCopySubMatrix() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testCopySubMatrix(); } } @Test(timeout=1000000) public void testGetRowMatrix() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetRowMatrix(); } } @Test(timeout=1000000) public void testSetRowMatrix() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSetRowMatrix(); } } @Test(timeout=1000000) public void testGetColumnMatrix() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetColumnMatrix(); } } @Test(timeout=1000000) public void testSetColumnMatrix() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSetColumnMatrix(); } } @Test(timeout=1000000) public void testGetRowVector() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetRowVector(); } } @Test(timeout=1000000) public void testSetRowVector() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSetRowVector(); } } @Test(timeout=1000000) public void testGetColumnVector() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetColumnVector(); } } @Test(timeout=1000000) public void testSetColumnVector() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSetColumnVector(); } } @Test(timeout=1000000) public void testGetRow() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetRow(); } } @Test(timeout=1000000) public void testSetRow() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSetRow(); } } @Test(timeout=1000000) public void testGetColumn() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testGetColumn(); } } @Test(timeout=1000000) public void testSetColumn() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSetColumn(); } } @Test(timeout=1000000) public void testSetSubMatrix() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSetSubMatrix(); } } @Test(timeout=1000000) public void testWalk() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testWalk(); } } @Test(timeout=1000000) public void testSerial() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testSerial(); } } @Test(timeout=1000000) public void testAdd() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testAdd(); } } @Test(timeout=1000000) public void testMultiply() throws Exception { if (verifyNoPropertyViolation(config)) { org.apache.commons.math3.linear.Array2DRowRealMatrixTest object = new org.apache.commons.math3.linear.Array2DRowRealMatrixTest(); object.testMultiply(); } } }