public ReadOSMXml ( string filePath ) : List |
||
filePath | string | |
Résultat | List |
public void NodesToRestaurantsOsmTest_ShouldConvertAllNodesToRestaurantsOsmList() { string path = @"E:\Work\osmosis-latest\bin\israel_all_foods.osm"; OpenStreetMapServices osm = new OpenStreetMapServices(); var nodeList = osm.ReadOSMXml(path); //act List<RestaurantOsm> restList = osm.NodesToRestaurantsOsm(nodeList); //assert Assert.IsNotNull(restList); }
public void ReadOSMXmlTest_ShouldReturnNotNullListOfOsmNodeElements() { string path = @"E:\Work\osmosis-latest\bin\israel_all_foods.osm"; OpenStreetMapServices osm = new OpenStreetMapServices(); var nodeList = osm.ReadOSMXml(path); Assert.IsNotNull(nodeList); Assert.IsTrue(nodeList.Count > 0); }
public void ReadOSMXmlTest_ShouldReturnNotNullListOfOsmNodeElements() { //string path = @"C:\osmosis-latest\bin\finland_places.osm"; OpenStreetMapServices osm = new OpenStreetMapServices(); var nodeList = osm.ReadOSMXml(path); Assert.IsNotNull(nodeList); Assert.IsTrue(nodeList.Count > 0); }