/// <summary> /// Tests routing from a serialized routing file. /// </summary> public static void Test(Stream stream, int testCount) { var box = new GeoCoordinateBox( new GeoCoordinate(51.20190, 4.66540), new GeoCoordinate(51.30720, 4.89820)); LiveRoutingTest.TestSerializedRouting("LiveRouting", stream, box, testCount); }
/// <summary> /// Tests routing from a serialized routing file. /// </summary> public static void TestSerializedRouting(string name, string routeFile, int testCount) { var testFile = new FileInfo(string.Format(@".\TestFiles\{0}", routeFile)); var stream = testFile.OpenRead(); LiveRoutingTest.TestSerializedRouting(name, stream, testCount); stream.Dispose(); }
/// <summary> /// Tests the live routing. /// </summary> public static void Test() { var box = new GeoCoordinateBox( new GeoCoordinate(51.20190, 4.66540), new GeoCoordinate(51.30720, 4.89820)); LiveRoutingTest.TestSerializedRouting("LiveRouting", "kempen-big.osm.pbf", box, 2500); }
/// <summary> /// Tests routing from a serialized routing file. /// </summary> public static void Test(Stream stream, int testCount) { LiveRoutingTest.TestSerializedRouting("LiveRouting", stream, testCount); }
/// <summary> /// Tests the live routing. /// </summary> public static void Test() { LiveRoutingTest.TestSerializedRouting("LiveRouting", "kempen-big.osm.pbf", 250); }