public void GetHighways_ShouldReturnResults() { _gateway.Initialize(); var northEast = new Coordinate(35.0516, 31.7553); var southWest = new Coordinate(35.0251, 31.7467); var results = _gateway.GetHighways(northEast, southWest).Result; Assert.IsNotNull(results[0].Attributes[FeatureAttributes.POI_OSM_NODES] as IEnumerable <object>); Assert.AreEqual(38, results.Count); }
public void GetHighways_ShouldReturnResults() { var gateway = new ElasticSearchGateway(new TraceLogger()); gateway.Initialize(); var northEast = new Coordinate(35.0516, 31.7553); var southWest = new Coordinate(35.0251, 31.7467); var results = gateway.GetHighways(northEast, southWest).Result; Assert.AreEqual(36, results.Count); }