|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmathlib.tools.junit.framework.Assert
jmathlib.tools.junit.framework.TestCase
jmathlibtests.toolbox.symbolic.testDerivative
public class testDerivative
| Field Summary | |
|---|---|
protected Interpreter |
ml
|
| Constructor Summary | |
|---|---|
testDerivative(java.lang.String name)
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
Sets up the fixture, for example, open a network connection. |
static Test |
suite()
|
protected void |
tearDown()
Tears down the fixture, for example, close a network connection. |
void |
testDerivative2()
Test the derivative of an exponential exp(2x) => 2*exp(2x) NOT IMPLEMENTED |
void |
testDerivative3()
Test the derivative of a trig function sin(x) => cos(x) NOT IMPLEMENTED |
void |
testLinearDerivative1()
Test the integral of a linear equation x^2 + x + 1 => 2x+1 |
void |
testLinearDerivative2()
Test the integral of a linear equation 2*x = 2 |
void |
testLinearDerivative3()
Test the integral of a linear equation x*y = y |
void |
testLinearDerivative4()
Test the integral of a linear equation 1/x = -1/x^2 |
| Methods inherited from class jmathlib.tools.junit.framework.TestCase |
|---|
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
| Methods inherited from class jmathlib.tools.junit.framework.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 |
| Field Detail |
|---|
protected Interpreter ml
| Constructor Detail |
|---|
public testDerivative(java.lang.String name)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
protected void setUp()
TestCase
setUp in class TestCaseprotected void tearDown()
TestCase
tearDown in class TestCasepublic static Test suite()
public void testLinearDerivative1()
public void testLinearDerivative2()
public void testLinearDerivative3()
public void testLinearDerivative4()
public void testDerivative2()
public void testDerivative3()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||