/// <summary> /// Executes the tests. /// </summary> public static void Execute() { //CHVerifiedContractionBaseTests.ExecuteSparse("OsmSharp.Routing.Osm.Test.TestData.matrix.osm"); CHVerifiedContractionBaseTests.ExecuteEdgeDifference("OsmSharp.Routing.Osm.Test.TestData.matrix.osm"); //CHVerifiedContractionBaseTests.Execute("OsmSharp.Routing.Osm.Test.TestData.matrix_big_area.osm"); //CHVerifiedContractionBaseTests.Execute("OsmSharp.Routing.Osm.Test.TestData.lebbeke.osm"); //CHVerifiedContractionBaseTests.Execute("OsmSharp.Routing.Osm.Test.TestData.eeklo.osm"); //CHVerifiedContractionBaseTests.Execute("OsmSharp.Routing.Osm.Test.TestData.moscow.osm"); }
/// <summary> /// Executes the tests. /// </summary> /// <param name="xml"></param> private static void ExecuteSparse(string xml) { CHVerifiedContractionBaseTests tester = new CHVerifiedContractionBaseTests(); tester.DoTestCHSparseVerifiedContraction(xml); }
/// <summary> /// Executes the tests. /// </summary> /// <param name="xml"></param> private static void ExecuteEdgeDifference(string xml) { CHVerifiedContractionBaseTests tester = new CHVerifiedContractionBaseTests(); tester.DoTestCHEdgeDifferenceVerifiedContraction(xml); }
/// <summary> /// Executes the tests. /// </summary> /// <param name="xml"></param> private static void ExecuteSparse(string xml) { OsmSharp.Tools.Output.OutputStreamHost.WriteLine(xml); CHVerifiedContractionBaseTests tester = new CHVerifiedContractionBaseTests(); tester.DoTestCHSparseVerifiedContraction(xml); }