示例#1
0
        public void when_getting_available_vehicles_inside_a_valid_zone()
        {
            var vehicles = _sut.GetAvailableVehicles("BOS", 42.354045, -71.062289);

            Assert.IsNotEmpty(vehicles);
            Assert.LessOrEqual(vehicles.Count(), 10);
        }
示例#2
0
        private void RunHoneyBadgerTest()
        {
            var honeyBadgerService = new HoneyBadgerServiceClient(_serverSettings, _logger);

            honeyBadgerService.GetAvailableVehicles(
                null,
                _serverSettings.ServerData.GeoLoc.DefaultLatitude,
                _serverSettings.ServerData.GeoLoc.DefaultLongitude,
                throwError: true);
        }