Package com.singularsys.exttests.matrix
Class RationalMatrixTest
java.lang.Object
com.singularsys.exttests.matrix.MatrixFieldBaseTest
com.singularsys.exttests.matrix.RationalMatrixTest
- Direct Known Subclasses:
RationalMatrix2Test,RationalMatrix3Test
Tests for matrix operations using the
RationalField.-
Field Summary
Fields inherited from class com.singularsys.exttests.matrix.MatrixFieldBaseTest
jep, mfac, mfield, myFalse, myTrue, numf, PRINT_RESULTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildMatrix(Object[][] data) buildVector(Object... data) protected ObjectgetNumber(double val) Create a number of the appropriate typeprotected ObjectvoidsetUp()voidvoidvoidMethods inherited from class com.singularsys.exttests.matrix.MatrixFieldBaseTest
checkMatrix, checkMatrix, checkValue, checkValue, equalsEle, equalsMatrix, equalsMatrix, printTestHeader, test_serialization_of_vectors_and_matrices, test_solve_with_invalid_argument_throw_exceptions, testDuplicate, testEle, testIdentity, testLightWeightComponents, testMatrixEquality, testMatrixOps, testMatZero, testMismatched_returns_null, testSize, testSolve, testTranspose
-
Constructor Details
-
RationalMatrixTest
public RationalMatrixTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testLogical
- Throws:
JepException
-
testMatNaN
@Disabled("Rational NaN not implemented") public void testMatNaN()- Overrides:
testMatNaNin classMatrixFieldBaseTest
-
testRationalValue
@Test public void testRationalValue() -
buildMatrix
- Overrides:
buildMatrixin classMatrixFieldBaseTest- Throws:
EvaluationException
-
buildVector
- Overrides:
buildVectorin classMatrixFieldBaseTest- Throws:
EvaluationException
-
getNumber
Description copied from class:MatrixFieldBaseTestCreate a number of the appropriate type- Overrides:
getNumberin classMatrixFieldBaseTest- Parameters:
val- input- Returns:
- converted number
-
getNumber
- Overrides:
getNumberin classMatrixFieldBaseTest- Throws:
ParseException
-