ps0.test
Class BallTest
java.lang.Object
TestCase
ps0.test.BallTest
public class BallTest
- extends TestCase
BallTest is a simple glassbox test of the Ball class.
- See Also:
Ball
Method Summary |
protected void |
setUp()
|
void |
testVolume()
Test to see that Ball returns the correct volume when queried. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BallTest
public BallTest()
setUp
protected void setUp()
throws Exception
- Throws:
Exception
testVolume
public void testVolume()
- Test to see that Ball returns the correct volume when queried.