public class SJepTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
static boolean |
SHOW_BAD |
| Modifier and Type | Method and Description |
|---|---|
void |
assertPolynomialEquals(String s1,
String s2) |
Object |
calcValue(String expr) |
void |
complexValueTest(String expr,
Complex expected,
double tol) |
void |
expandTestString(String expr,
String expected) |
static void |
main(String[] args) |
void |
myAssertEquals(String msg,
String actual,
String expected) |
void |
simplifyTest(String expr,
String expected) |
void |
simplifyTestString(String expr,
String expected) |
static junit.framework.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(String expr,
double dub) |
void |
valueTest(String expr,
Object expected) |
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, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toStringpublic static final boolean SHOW_BAD
public SJepTest(String name)
public static void main(String[] args)
public static junit.framework.Test suite()
public void assertPolynomialEquals(String s1, String s2) throws ParseException
ParseExceptionpublic void testGood()
public void complexValueTest(String expr, Complex expected, double tol) throws Exception
Exceptionpublic Object calcValue(String expr) throws ParseException
ParseExceptionpublic void simplifyTest(String expr, String expected) throws ParseException
ParseExceptionpublic void simplifyTestString(String expr, String expected) throws ParseException
ParseExceptionpublic void expandTestString(String expr, String expected) throws ParseException
ParseExceptionpublic void testPrint()
throws ParseException
ParseExceptionpublic void testSimp()
throws ParseException
ParseExceptionpublic void testPolySimp()
throws ParseException,
Exception
ParseExceptionExceptionpublic void testTotalOrder()
throws ParseException,
Exception
ParseExceptionExceptionpublic void testPolySimp2()
throws ParseException,
Exception
ParseExceptionExceptionpublic void testFormat()
throws ParseException
ParseExceptionpublic void testSimpleEquals()
throws ParseException
ParseExceptionpublic void testBad()
throws ParseException
ParseExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics