taxisrus.tests
Class ZoneUnitTest
taxisrus.tests.ZoneUnitTest
- public class ZoneUnitTest
- Author:
- MIKAM Tribe
ZoneUnitTest class
This is the unit test to test the Zone class. It tests if each
of Zone class's method works.
ZoneUnitTest
public ZoneUnitTest(String s)
suite
public static junit.framework.Test suite()
testGetZoneID
public void testGetZoneID()
- Tests getZoneID method of Zone class
testGetCab
public void testGetCab()
- Tests getCab method of Zone class
testGetCabList_GetNumCabs
public void testGetCabList_GetNumCabs()
- Tests getCabList and getNumCabs methods of Zone class
testRemoveCab_ClearCabList
public void testRemoveCab_ClearCabList()
- Tests removeCab and clearCabList method of Zone class. Assumes
addCabToFront, addCabToBack, and getNumCabs methods work.
testAddCabToFront
public void testAddCabToFront()
- Tests addCabToFront method of Zone class
testAddCabToBack
public void testAddCabToBack()
- Tests addCabToBack method of Zone class
API documentation for build 958