Package edu.jas.vector
Class GenMatrixTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.vector.GenMatrixTest
-
- All Implemented Interfaces:
junit.framework.Test
public class GenMatrixTest extends junit.framework.TestCase
GenMatrix tests with JUnit- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description GenMatrixTest(java.lang.String name)Constructs aGenMatrixTestobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)main.protected voidsetUp()static junit.framework.Testsuite()protected voidtearDown()voidtestAddition()Test addition.voidtestConstruction()Test constructor and toString.voidtestFractionfreeGE()Test fraction free GE.voidtestFractionfreeGEpoly()Test fraction free GE polynomial.voidtestLUdecomp()Test LU decomposition.voidtestNullSpace()Test Null Space basis.voidtestNullSpaceKernels()Test Null Space basis for cokernel and kernel.voidtestNullSpaceMod()Test Null Space basis, modular coeffs.voidtestParse()Test parse matrix.voidtestRandom()Test random matrix.voidtestRowEchelonForm()Test row echelon form and rank.voidtestScalarMultiplication()Test scalar multiplication.voidtestSimpleMultiplication()Test (simple) multiplication.-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
GenMatrixTest
public GenMatrixTest(java.lang.String name)
Constructs aGenMatrixTestobject.- Parameters:
name- String.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
main.
-
suite
public static junit.framework.Test suite()
-
setUp
protected void setUp()
- Overrides:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDownin classjunit.framework.TestCase
-
testConstruction
public void testConstruction()
Test constructor and toString.
-
testRandom
public void testRandom()
Test random matrix.
-
testAddition
public void testAddition()
Test addition.
-
testScalarMultiplication
public void testScalarMultiplication()
Test scalar multiplication.
-
testSimpleMultiplication
public void testSimpleMultiplication()
Test (simple) multiplication.
-
testParse
public void testParse()
Test parse matrix.
-
testLUdecomp
public void testLUdecomp()
Test LU decomposition.
-
testNullSpaceMod
public void testNullSpaceMod()
Test Null Space basis, modular coeffs.
-
testNullSpace
public void testNullSpace()
Test Null Space basis.
-
testNullSpaceKernels
public void testNullSpaceKernels()
Test Null Space basis for cokernel and kernel.
-
testRowEchelonForm
public void testRowEchelonForm()
Test row echelon form and rank.
-
testFractionfreeGE
public void testFractionfreeGE()
Test fraction free GE.
-
testFractionfreeGEpoly
public void testFractionfreeGEpoly()
Test fraction free GE polynomial.
-
-