public class MRpTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
static boolean |
SHOW_BAD |
| Modifier and Type | Method and Description |
|---|---|
Object |
calcValue(String expr) |
void |
complexValueTest(String expr,
Complex expected,
double tol) |
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 |
testAssign() |
void |
testAssignDiff() |
void |
testFun() |
void |
testGood() |
void |
testLogical() |
void |
testMul() |
void |
testRp() |
void |
testRpAllDim() |
void |
testUndecVar() |
void |
testVn() |
void |
valueTest(String expr,
double dub) |
void |
valueTest(String expr,
Object expected) |
void |
valueTest(String expr,
String 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 MRpTest(String name)
public static junit.framework.Test suite()
public static void main(String[] args)
public void testGood()
public void valueTest(String expr, double dub) throws ParseException
ParseExceptionpublic void valueTest(String expr, Object expected) throws ParseException
ParseExceptionpublic void valueTest(String expr, String expected) throws ParseException
ParseExceptionpublic 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 testRp()
throws ParseException
ParseExceptionpublic void testRpAllDim()
throws ParseException
ParseExceptionpublic void testMul()
throws ParseException
ParseExceptionpublic void testAssign()
throws ParseException
ParseExceptionpublic void testLogical()
throws ParseException
ParseExceptionpublic void testVn()
throws ParseException
ParseExceptionpublic void testFun()
throws ParseException
ParseExceptionpublic void testUndecVar()
throws ParseException
ParseExceptionpublic void testAssignDiff()
throws ParseException
ParseExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics