public async void LoadByIdSucceeds() { var service = new SubdivisionService(); var subdiv = await service.LoadById(1001101); Assert.That(subdiv.Id, Is.GreaterThan(0)); Assert.That(subdiv.Population, Is.Not.Null); Assert.That(subdiv.GeoJSON, Is.Not.Null); }
public async void GetStoreByGeoJsonTest() { var subdivService = new SubdivisionService(); var subdiv = await subdivService.LoadById(3501005); var storesService = new LcboService(); var stores = await storesService.StoresInArea(subdiv.GeoJSON); Assert.That(stores.Count, Is.GreaterThan(0)); }