public class PolynomialCreatorTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected XJep |
jep |
protected PolynomialCreator |
pc |
static boolean |
SHOW_BAD |
protected SubstitutionVisitor |
sv |
Constructor and Description |
---|
PolynomialCreatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
assertPolynomialEquals(java.lang.String s1,
java.lang.String s2) |
void |
expandTestString(java.lang.String expr,
java.lang.String expected) |
void |
myAssertEquals(java.lang.String msg,
java.lang.String actual,
java.lang.String expected) |
void |
setUp() |
void |
simplifyTest(java.lang.String expr,
java.lang.String expected) |
void |
simplifyTestString(java.lang.String expr,
java.lang.String expected) |
void |
simplifyTestString2(java.lang.String expr,
java.lang.String expected,
java.lang.String expt2) |
void |
simplifyTestString3(java.lang.String expr,
java.lang.String expected,
java.lang.String expt2,
java.lang.String expt3) |
void |
test7dim() |
void |
testAdd() |
void |
testBad() |
void |
testCommute() |
void |
testCompare() |
void |
testCreatePoly() |
void |
testExpandOperator() |
void |
testExpandToNode()
The expand.toNode has problems with uminus
|
void |
testGood()
just test JUnit working OK
|
void |
testMonomial() |
void |
testPolyDiffSimp() |
void |
testPolySigns()
Check that it does not create a polynomial like x+-y
|
void |
testPolySimp() |
void |
testPolySimp2() |
void |
testPrint() |
void |
testSimp() |
void |
testSimpleEquals() |
void |
testToArray() |
void |
testToCoefficientArray() |
void |
testTotalOrder()
The total ordering of monomials/polynomials mean that terms are rearranged.
|
public static final boolean SHOW_BAD
protected XJep jep
protected PolynomialCreator pc
protected SubstitutionVisitor sv
public void setUp() throws java.lang.Exception
java.lang.Exception
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 java.lang.Exception
java.lang.Exception
public void testGood()
public void simplifyTest(java.lang.String expr, java.lang.String expected) throws java.lang.Exception
java.lang.Exception
public void simplifyTestString(java.lang.String expr, java.lang.String expected) throws java.lang.Exception
java.lang.Exception
public void simplifyTestString2(java.lang.String expr, java.lang.String expected, java.lang.String expt2) throws java.lang.Exception
java.lang.Exception
public void simplifyTestString3(java.lang.String expr, java.lang.String expected, java.lang.String expt2, java.lang.String expt3) throws java.lang.Exception
java.lang.Exception
public void expandTestString(java.lang.String expr, java.lang.String expected) throws java.lang.Exception
java.lang.Exception
public void testPrint() throws java.lang.Exception
java.lang.Exception
public void testMonomial() throws java.lang.Exception
java.lang.Exception
public void testSimp() throws java.lang.Exception
java.lang.Exception
public void testCommute() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testPolySimp() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testPolyDiffSimp() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testTotalOrder() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testCompare() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testPolySimp2() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testExpandToNode() throws java.lang.Exception
java.lang.Exception
public void testSimpleEquals() throws java.lang.Exception
java.lang.Exception
public void testToArray() throws java.lang.Exception
java.lang.Exception
public void testToCoefficientArray() throws java.lang.Exception
java.lang.Exception
public void test7dim() throws java.lang.Exception
java.lang.Exception
public void testCreatePoly() throws JepException
JepException
public void testAdd() throws ParseException, JepException
ParseException
JepException
public void testPolySigns() throws java.lang.Exception
java.lang.Exception
public void testExpandOperator() throws java.lang.Exception
java.lang.Exception
public void testBad() throws java.lang.Exception
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep