|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
com.savarese.algorithms.spatial.GenericPointTest
public class GenericPointTest
GenericPointTest tests the GenericPoint class.
Constructor Summary | |
---|---|
GenericPointTest()
|
Method Summary | |
---|---|
void |
testClone()
Instantiates several GenericPoint
instances and verifies that they are equal to their clones and
that their hash codes are the same. |
void |
testConstructor()
Instantiates several GenericPoint
instances in succession and verifies that all getter methods
return results equivalent to the constructor parameters. |
void |
testEquals()
Tests the equals method. |
void |
testToString()
Instantiates several GenericPoint instances
and verifies that invoking toString() produces an expected value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericPointTest()
Method Detail |
---|
public void testConstructor()
GenericPoint
instances in succession and verifies that all getter methods
return results equivalent to the constructor parameters.
public void testToString()
GenericPoint
instances
and verifies that invoking toString() produces an expected value.
public void testClone()
GenericPoint
instances and verifies that they are equal to their clones and
that their hash codes are the same.
public void testEquals()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |