public void TestKMLGood2_2() { var routeData = new ParseKML(GetMemoryStream(KML2_2_Sample)); Assert.AreEqual(4, routeData.RouteShape.Count); Assert.AreEqual(0, routeData.RouteStops.Count); }
public void TestKMLGood() { var routeData = new ParseKML(GetMemoryStream(GoodKML)); Assert.AreEqual(4, routeData.RouteShape.Count); Assert.AreEqual(2, routeData.RouteStops.Count); }
public void TestKMLExtraRoute() { // Each KML file should contain just one route var routeData = new ParseKML(GetMemoryStream(KML_ExtraRoute)); }
public void TestKMLExtraRouteSegment() { var routeData = new ParseKML(GetMemoryStream(KMLMultiSegment)); }
public void TestKMLTooFewRoutePoints() { var routeData = new ParseKML(GetMemoryStream(KML_TooFewPoints)); }