|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectTestCase
org.j3d.util.interpolator.TestCoordinateInterpolator
A test case to check the functionality of the CoordinateInterpolator implementation.
The test aims to check insertion and key value generation of the interpolator.
| Constructor Summary | |
TestCoordinateInterpolator(java.lang.String s)
Create an instance of the test case for this particular test name. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
setUp()
Pre-test instance setup code. |
static Test |
suite()
Fetch the suite of tests for this test class to perform. |
void |
testClamping()
Test that we can generate values that are clamped to the extent values of the interpolator for keys that are out of range to those inserted. |
void |
testCreateFloat()
Test that we can create a basic array of values using float arrays inserted linearly without generating exceptions. |
void |
testInvalidInsert()
Test the attempts to insert invalid lengths of data into the array |
void |
testKeyGenFloat()
Test that we can generate simple values for keys that are in range easily. |
void |
testValueInsertFloat()
Test that we can create an array of values with values being inserted between other values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestCoordinateInterpolator(java.lang.String s)
| Method Detail |
public static Test suite()
public void setUp()
public void testInvalidInsert()
public void testCreateFloat()
public void testValueInsertFloat()
public void testKeyGenFloat()
public void testClamping()
public static void main(java.lang.String[] args)
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||