From 8ef6fee005aaea5774fbd4da337a4cbfa195e73e Mon Sep 17 00:00:00 2001 From: namdre Date: Sat, 7 Mar 2020 22:50:24 +0100 Subject: [PATCH] added test refs #2182 --- tests/duarouter/config.duarouter | 1 + tests/duarouter/input_net3.net.xml | 1676 +++++++++++++++++ .../trips/geoTrips_lonLat/alts.duarouter | 41 + .../trips/geoTrips_lonLat/errors.duarouter | 0 .../geoTrips_lonLat/input_additional.add.xml | 3 + .../geoTrips_lonLat/input_trips.trips.xml | 37 + .../trips/geoTrips_lonLat/options.duarouter | 2 + .../trips/geoTrips_lonLat/output.duarouter | 1 + .../trips/geoTrips_lonLat/routes.duarouter | 37 + tests/duarouter/trips/testsuite.duarouter | 3 + 10 files changed, 1801 insertions(+) create mode 100644 tests/duarouter/input_net3.net.xml create mode 100644 tests/duarouter/trips/geoTrips_lonLat/alts.duarouter create mode 100644 tests/duarouter/trips/geoTrips_lonLat/errors.duarouter create mode 100644 tests/duarouter/trips/geoTrips_lonLat/input_additional.add.xml create mode 100644 tests/duarouter/trips/geoTrips_lonLat/input_trips.trips.xml create mode 100644 tests/duarouter/trips/geoTrips_lonLat/options.duarouter create mode 100644 tests/duarouter/trips/geoTrips_lonLat/output.duarouter create mode 100644 tests/duarouter/trips/geoTrips_lonLat/routes.duarouter diff --git a/tests/duarouter/config.duarouter b/tests/duarouter/config.duarouter index f01465e9d95..750742a7d5f 100644 --- a/tests/duarouter/config.duarouter +++ b/tests/duarouter/config.duarouter @@ -7,6 +7,7 @@ copy_test_path:input_trips.trips.xml copy_test_path:input_weights.dump.xml copy_test_path:input_net.net.xml copy_test_path:input_net2.net.xml +copy_test_path:input_net3.net.xml copy_test_path:input_districts.taz.xml copy_test_path:input_additional.add.xml copy_test_path:input_additional2.add.xml diff --git a/tests/duarouter/input_net3.net.xml b/tests/duarouter/input_net3.net.xml new file mode 100644 index 00000000000..8c7fdc41f7c --- /dev/null +++ b/tests/duarouter/input_net3.net.xml @@ -0,0 +1,1676 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/duarouter/trips/geoTrips_lonLat/alts.duarouter b/tests/duarouter/trips/geoTrips_lonLat/alts.duarouter new file mode 100644 index 00000000000..cb75366453a --- /dev/null +++ b/tests/duarouter/trips/geoTrips_lonLat/alts.duarouter @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + diff --git a/tests/duarouter/trips/geoTrips_lonLat/errors.duarouter b/tests/duarouter/trips/geoTrips_lonLat/errors.duarouter new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/duarouter/trips/geoTrips_lonLat/input_additional.add.xml b/tests/duarouter/trips/geoTrips_lonLat/input_additional.add.xml new file mode 100644 index 00000000000..9da6b787365 --- /dev/null +++ b/tests/duarouter/trips/geoTrips_lonLat/input_additional.add.xml @@ -0,0 +1,3 @@ + + + diff --git a/tests/duarouter/trips/geoTrips_lonLat/input_trips.trips.xml b/tests/duarouter/trips/geoTrips_lonLat/input_trips.trips.xml new file mode 100644 index 00000000000..e32d32595ba --- /dev/null +++ b/tests/duarouter/trips/geoTrips_lonLat/input_trips.trips.xml @@ -0,0 +1,37 @@ + + + + + + + + diff --git a/tests/duarouter/trips/geoTrips_lonLat/options.duarouter b/tests/duarouter/trips/geoTrips_lonLat/options.duarouter new file mode 100644 index 00000000000..f40088a23f5 --- /dev/null +++ b/tests/duarouter/trips/geoTrips_lonLat/options.duarouter @@ -0,0 +1,2 @@ +--net-file=input_net3.net.xml --route-files=input_trips.trips.xml +-o routes.rou.xml diff --git a/tests/duarouter/trips/geoTrips_lonLat/output.duarouter b/tests/duarouter/trips/geoTrips_lonLat/output.duarouter new file mode 100644 index 00000000000..a9d787cc55c --- /dev/null +++ b/tests/duarouter/trips/geoTrips_lonLat/output.duarouter @@ -0,0 +1 @@ +Success. diff --git a/tests/duarouter/trips/geoTrips_lonLat/routes.duarouter b/tests/duarouter/trips/geoTrips_lonLat/routes.duarouter new file mode 100644 index 00000000000..9887b00a511 --- /dev/null +++ b/tests/duarouter/trips/geoTrips_lonLat/routes.duarouter @@ -0,0 +1,37 @@ + + + + + + + + + + + + diff --git a/tests/duarouter/trips/testsuite.duarouter b/tests/duarouter/trips/testsuite.duarouter index 53fa87fa591..6291291c1e6 100644 --- a/tests/duarouter/trips/testsuite.duarouter +++ b/tests/duarouter/trips/testsuite.duarouter @@ -103,6 +103,9 @@ write-trips.geo # test reading trips with geo-coordinates geoTrips +# test reading trips with geo-coordinates +geoTrips_lonLat + # test reading trips with geo-coordinates geoTrips_distance