Methods Summary |
---|
protected void | setUp()
super.setUp();
testObject = new Ch03_01();
|
protected void | tearDown()
super.tearDown();
|
public void | testAllocate()
assertNotNull(testObject.allocate());
|
public void | testGet()
testObject.allocate();
assertEquals(testObject.get(1), 1);
|
public void | testSet()
testObject.allocate();
assertTrue(testObject.set(2, 3));
|