Skip to content

Commit

Permalink
added test refs #14427, #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 27, 2024
1 parent 84c3132 commit ce3f75a
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 0 deletions.
34 changes: 34 additions & 0 deletions tests/duarouter/person/personTrip/geoRide_lonLat/alts.duarouter
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-02-27 17:05:12 by Eclipse SUMO duarouter Version v1_19_0+1051-f561ff9
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/duarouterConfiguration.xsd">
<input>
<net-file value="input_net3.net.xml"/>
<route-files value="input_trips.trips.xml"/>
</input>
<output>
<output-file value="routes.rou.xml"/>
<write-license value="true"/>
</output>
<report>
<xml-validation value="never"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Error: The start edge for person '0' is not known.
Quitting (on error).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Thu Feb 7 12:44:05 2019 by Eclipse SUMO duarouter Version v1_0_1+0645-93703db
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/duarouterConfiguration.xsd">
<input>
<net-file value="input_net.net.xml"/>
<additional-files value="input_additional.add.xml"/>
<route-files value="input_trips.trips.xml"/>
</input>
<output>
<write-license value="true"/>
<output-file value="routes.rou.xml"/>
<alternatives-output value="routes.rou.alt.xml"/>
<write-trips value="true"/>
<write-trips.geo value="true"/>
</output>
<report>
<xml-validation value="never"/>
<ignore-errors value="true"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<person id="0" depart="0.00">
<ride fromLonLat="13.522013,52.426592" toLonLat="13.535143,52.432031"/>
<stop lon="13.535143" lat="52.432031" duration="30"/>
</person>
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--net-file=input_net3.net.xml --route-files=input_trips.trips.xml
-o routes.rou.xml
Empty file.
34 changes: 34 additions & 0 deletions tests/duarouter/person/personTrip/geoRide_lonLat/routes.duarouter
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-02-27 17:05:12 by Eclipse SUMO duarouter Version v1_19_0+1051-f561ff9
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/duarouterConfiguration.xsd">
<input>
<net-file value="input_net3.net.xml"/>
<route-files value="input_trips.trips.xml"/>
</input>
<output>
<output-file value="routes.rou.xml"/>
<write-license value="true"/>
</output>
<report>
<xml-validation value="never"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"/>
3 changes: 3 additions & 0 deletions tests/duarouter/person/personTrip/testsuite.duarouter
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ geoTrips_lonLat
# test reading walk with geo-coordinates
geoWalk_lonLat

# test reading ride with geo-coordinates
geoRide_lonLat

# test routing taxi trips
taxi
errors
Expand Down

0 comments on commit ce3f75a

Please sign in to comment.