|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.lsmp.djepJUnit.JepTest org.lsmp.djepJUnit.XJepTest org.lsmp.djepJUnit.DJepTest org.lsmp.djepJUnit.MatrixJepTest
public class MatrixJepTest
Field Summary |
---|
Fields inherited from class org.lsmp.djepJUnit.JepTest |
---|
SHOW_BAD |
Constructor Summary | |
---|---|
MatrixJepTest(java.lang.String name)
|
Method Summary | |
---|---|
java.lang.Object |
calcValue(Node node)
|
static void |
main(java.lang.String[] args)
Main entry point. |
protected void |
setUp()
Run before each test. |
static junit.framework.Test |
suite()
Create a test suite. |
void |
testComplexMatricies()
|
void |
testDotInName()
|
void |
testLength()
|
void |
testMatrix()
|
void |
testTgtDev()
|
void |
testVecCmp()
|
void |
testVectorSum()
|
void |
valueTest(java.lang.String expr,
double a)
Test parse and evaluate with with a Double result. |
Methods inherited from class org.lsmp.djepJUnit.DJepTest |
---|
testAssignDiff, testChainedVaraibles, testDiff |
Methods inherited from class org.lsmp.djepJUnit.XJepTest |
---|
parsePreprocSimp, parseProcSimpEval, simplifyTest, simplifyTestString, testBad, testDefine, testFormat, testHex, testLogical, testMacroFun, testPrint, testReentrant, testSimp, testSum, testUndecVar, testVariableReuse, testVarInEqn |
Methods inherited from class org.lsmp.djepJUnit.JepTest |
---|
calcValue, complexValueTest, myAssertEquals, myAssertNaN, testAssign, testAssign2, testBinom, testComplex, testFunction, testGood, testIf, testNaN, testNumParam, testSimpleSum, testUndeclared, valueTest, valueTest, valueTest, valueTestInt, valueTestNaN |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MatrixJepTest(java.lang.String name)
name
- Method Detail |
---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
args
- protected void setUp()
JepTest
setUp
in class DJepTest
public java.lang.Object calcValue(Node node) throws ParseException
calcValue
in class JepTest
ParseException
public void valueTest(java.lang.String expr, double a) throws java.lang.Exception
JepTest
valueTest
in class JepTest
a
- expected value will be converted to a Double.
java.lang.Exception
public void testMatrix() throws java.lang.Exception
java.lang.Exception
public void testLength() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testDotInName() throws ParseException, java.lang.Exception
testDotInName
in class JepTest
ParseException
java.lang.Exception
public void testVecCmp() throws java.lang.Exception
java.lang.Exception
public void testVectorSum() throws java.lang.Exception
java.lang.Exception
public void testTgtDev() throws java.lang.Exception
java.lang.Exception
public void testComplexMatricies() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |