From d4b31ae6edfbc5dc7fb311a8e92728955ac3d4f8 Mon Sep 17 00:00:00 2001 From: Jakob Erdmann Date: Thu, 23 Jan 2025 17:27:44 +0100 Subject: [PATCH] added tests refs #21, #16077 --- .../randomTrips/marouter_flows/errors.tools | 0 .../randomTrips/marouter_flows/options.tools | 3 + .../randomTrips/marouter_flows/output.tools | 2 + .../randomTrips/marouter_flows/routes.tools | 101 ++++++++++++++++++ .../randomTrips/marouter_flows/trips.tools | 17 +++ tests/tools/trip/randomTrips/testsuite.tools | 3 + 6 files changed, 126 insertions(+) create mode 100644 tests/tools/trip/randomTrips/marouter_flows/errors.tools create mode 100644 tests/tools/trip/randomTrips/marouter_flows/options.tools create mode 100644 tests/tools/trip/randomTrips/marouter_flows/output.tools create mode 100644 tests/tools/trip/randomTrips/marouter_flows/routes.tools create mode 100644 tests/tools/trip/randomTrips/marouter_flows/trips.tools diff --git a/tests/tools/trip/randomTrips/marouter_flows/errors.tools b/tests/tools/trip/randomTrips/marouter_flows/errors.tools new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tests/tools/trip/randomTrips/marouter_flows/options.tools b/tests/tools/trip/randomTrips/marouter_flows/options.tools new file mode 100644 index 000000000000..954ab544c57b --- /dev/null +++ b/tests/tools/trip/randomTrips/marouter_flows/options.tools @@ -0,0 +1,3 @@ +-n net2.net.xml -s 42 --fringe-factor 1000 -e 10 -r out.rou.xml +--flows 2 +--marouter diff --git a/tests/tools/trip/randomTrips/marouter_flows/output.tools b/tests/tools/trip/randomTrips/marouter_flows/output.tools new file mode 100644 index 000000000000..578f9bacd708 --- /dev/null +++ b/tests/tools/trip/randomTrips/marouter_flows/output.tools @@ -0,0 +1,2 @@ +calling /scr1/sumo/bin/duarouter -n net2.net.xml -r NUL --ignore-errors --begin 0 --end 10 --no-step-log --no-warnings -o out.rou.xml +Success. diff --git a/tests/tools/trip/randomTrips/marouter_flows/routes.tools b/tests/tools/trip/randomTrips/marouter_flows/routes.tools new file mode 100644 index 000000000000..df6ac7906f57 --- /dev/null +++ b/tests/tools/trip/randomTrips/marouter_flows/routes.tools @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/tools/trip/randomTrips/marouter_flows/trips.tools b/tests/tools/trip/randomTrips/marouter_flows/trips.tools new file mode 100644 index 000000000000..5785f39cf398 --- /dev/null +++ b/tests/tools/trip/randomTrips/marouter_flows/trips.tools @@ -0,0 +1,17 @@ + + + + + + + + diff --git a/tests/tools/trip/randomTrips/testsuite.tools b/tests/tools/trip/randomTrips/testsuite.tools index b7de06d2f84d..2d1617d130f1 100644 --- a/tests/tools/trip/randomTrips/testsuite.tools +++ b/tests/tools/trip/randomTrips/testsuite.tools @@ -37,6 +37,9 @@ random-routing-factor # call marouter instead of duarouter marouter +# call marouter instead of duarouter +marouter_flows + # consider vehicle class when picking source- and destination edges if option --vclass is used vclass