mirror of
https://github.com/bspeice/UNCCGameDay-Test
synced 2024-11-21 23:48:12 -05:00
Add code to test fetching the parking lot coordinate
This commit is contained in:
parent
6bd8272669
commit
fbf0f93067
@ -45,6 +45,12 @@ public class ParkingClientTest extends AndroidTestCase{
|
||||
assertTrue(lot.getLocation().getValue() == ParkingChoice.BLUE.getValue());
|
||||
}
|
||||
|
||||
public void testFetchLocation() {
|
||||
ParkingClient pc = new ParkingClient(this.mContext);
|
||||
ParkingLot l = pc.listLot(ParkingChoice.GOLD);
|
||||
assertTrue((l.getCoordinate().getLatitude() != 0));
|
||||
}
|
||||
|
||||
public void testRateLot() throws InterruptedException {
|
||||
ParkingClient pc = new ParkingClient(this.mContext);
|
||||
ParkingChoice choice = ParkingChoice.BLUE;
|
||||
|
Loading…
Reference in New Issue
Block a user