public class SJepTest
extends TestCase
| Modifier and Type | Field and Description |
|---|---|
static boolean |
SHOW_BAD |
| Constructor and Description |
|---|
SJepTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertPolynomialEquals(java.lang.String s1,
java.lang.String s2) |
java.lang.Object |
calcValue(java.lang.String expr) |
void |
complexValueTest(java.lang.String expr,
Complex expected,
double tol) |
void |
expandTestString(java.lang.String expr,
java.lang.String expected) |
static void |
main(java.lang.String[] args) |
void |
myAssertEquals(java.lang.String msg,
java.lang.String actual,
java.lang.String expected) |
protected void |
setUp() |
void |
simplifyTest(java.lang.String expr,
java.lang.String expected) |
void |
simplifyTestString(java.lang.String expr,
java.lang.String expected) |
static Test |
suite() |
void |
testBad() |
void |
testFormat() |
void |
testGood()
just test JUnit working OK
|
void |
testOperators() |
void |
testPolySimp() |
void |
testPolySimp2() |
void |
testPrint() |
void |
testSimp() |
void |
testSimpleEquals() |
void |
testSimpleSum() |
void |
testTotalOrder() |
void |
valueTest(java.lang.String expr,
double dub) |
void |
valueTest(java.lang.String expr,
java.lang.Object expected) |
public static final boolean SHOW_BAD
public static void main(java.lang.String[] args)
protected void setUp()
public static Test suite()
public void myAssertEquals(java.lang.String msg,
java.lang.String actual,
java.lang.String expected)
public void assertPolynomialEquals(java.lang.String s1,
java.lang.String s2)
throws ParseException
ParseExceptionpublic void testGood()
public void valueTest(java.lang.String expr,
double dub)
throws java.lang.Exception
java.lang.Exceptionpublic void valueTest(java.lang.String expr,
java.lang.Object expected)
throws java.lang.Exception
java.lang.Exceptionpublic void complexValueTest(java.lang.String expr,
Complex expected,
double tol)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object calcValue(java.lang.String expr)
throws ParseException
ParseExceptionpublic void simplifyTest(java.lang.String expr,
java.lang.String expected)
throws ParseException
ParseExceptionpublic void simplifyTestString(java.lang.String expr,
java.lang.String expected)
throws ParseException
ParseExceptionpublic void expandTestString(java.lang.String expr,
java.lang.String expected)
throws ParseException
ParseExceptionpublic void testSimpleSum()
throws java.lang.Exception
java.lang.Exceptionpublic void testOperators()
throws java.lang.Exception
java.lang.Exceptionpublic void testPrint()
throws ParseException
ParseExceptionpublic void testSimp()
throws ParseException
ParseExceptionpublic void testPolySimp()
throws ParseException,
java.lang.Exception
ParseExceptionjava.lang.Exceptionpublic void testTotalOrder()
throws ParseException,
java.lang.Exception
ParseExceptionjava.lang.Exceptionpublic void testPolySimp2()
throws ParseException,
java.lang.Exception
ParseExceptionjava.lang.Exceptionpublic void testFormat()
throws ParseException
ParseExceptionpublic void testSimpleEquals()
throws ParseException
ParseExceptionpublic void testBad()
throws ParseException
ParseExceptionhttp://www.singularsys.com/jep Copyright © 2007 Singular Systems