|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--A1Test
Perform some basic tests on A1Driver, Space, and Point
Field Summary | |
static A1Driver |
a1
|
Constructor Summary | |
A1Test()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Run the tests. |
static void |
test1()
Test reading individual points from standard input, and printing the space in order of the distance from the viewpoint. |
static void |
test2()
Test the load method in A1Driver, and test that changing the view point results in a correct reordering of the points in space. |
static void |
test3()
Test the get method from A1Driver |
static void |
test4()
Test the samePlane method in each dimension. |
static void |
test5()
Test the write method in A1Driver by writing to a file and reloading the points. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static A1Driver a1
Constructor Detail |
public A1Test()
Method Detail |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static void test1() throws java.io.IOException
java.io.IOException
public static void test2() throws java.io.IOException
java.io.IOException
public static void test3() throws java.io.IOException
java.io.IOException
public static void test4() throws java.io.IOException
java.io.IOException
public static void test5() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |