|
|||||||||
| 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.testIntegral
public class testIntegral
| Field Summary | |
|---|---|
protected Interpreter |
ml
|
| Constructor Summary | |
|---|---|
testIntegral(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 |
testIntegral2()
Test the integral of an exponential exp(x) => exp(x) NOT IMPLEMENTED |
void |
testIntegral3()
Test the integral of a trig function sin(x) => cos(x) NOT IMPLEMENTED |
void |
testLinearIntegral1()
Test the integral of a linear equation x^2 + x + 1 => 0.333x^3+0.5x^2+x |
void |
testLinearIntegral2()
Test the integral of a linear equation x => 0.5x^2 |
void |
testLinearIntegral3()
Test the integral of a linear equation y => y*x |
void |
testLinearIntegral4()
Test the integral of a linear equation 1 => x |
void |
testLinearIntegral5()
Test the integral of a linear equation 1/x^2 = -1/x |
| 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 testIntegral(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 testLinearIntegral1()
public void testLinearIntegral2()
public void testLinearIntegral3()
public void testLinearIntegral4()
public void testLinearIntegral5()
public void testIntegral2()
public void testIntegral3()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||