@Test public void tripBetweenCoordinates() throws Exception { final QueryTripsResult result = queryTrips( Location.coord(48180281, 16333551), null, Location.coord(48240452, 16444788), new Date(), true, Product.ALL, WalkSpeed.NORMAL, Accessibility.NEUTRAL); print(result); final QueryTripsResult laterResult = queryMoreTrips(result.context, true); print(laterResult); }
@Test public void nearbyLocationsByCoordinate() throws Exception { final NearbyLocationsResult result = queryNearbyLocations( EnumSet.of(LocationType.STATION, LocationType.POI), Location.coord(48207355, 16370602)); print(result); assertTrue(result.locations.size() > 0); }
@Test public void nearbyStationsByCoordinate() throws Exception { final NearbyLocationsResult result = queryNearbyStations(Location.coord(48775005, 9166517)); print(result); }
@Test public void nearbyStationsByCoordinate() throws Exception { final NearbyLocationsResult result = queryNearbyStations(Location.coord(48207355, 16370602)); print(result); }