Skip to content

Commit

Permalink
added test refs #13566, #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Jul 5, 2023
1 parent 3523f4b commit c743778
Show file tree
Hide file tree
Showing 7 changed files with 304 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sumo/extended/bidiEdge/TWLT_insertion/errors.sumo
@@ -0,0 +1,3 @@
Warning: Vehicle 'v_1' performs emergency braking on lane '-E1_1' with decel=9.00, wished=4.50, severity=1.00, time=11.00.
Warning: Vehicle 'v_0'; frontal collision with vehicle 'v_1', lane='E1_1', gap=-1.68, time=11.00 stage=move.
Warning: Vehicle 'v_1'; frontal collision with vehicle 'v_0', lane='-E1_1', gap=-1.68, time=11.00 stage=move.
14 changes: 14 additions & 0 deletions tests/sumo/extended/bidiEdge/TWLT_insertion/input_routes.rou.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2023-03-27 16:27:58 by Eclipse SUMO netedit Version v1_16_0+1685-995fee9
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<!-- Vehicles, persons and containers (sorted by depart) -->
<vehicle id="v_1" depart="0.00">
<route edges="-E2 -E1 E3"/>
</vehicle>
<vehicle id="v_0" depart="10.00" departLane="1">
<route edges="E1 E4"/>
</vehicle>
</routes>
239 changes: 239 additions & 0 deletions tests/sumo/extended/bidiEdge/TWLT_insertion/net.net.xml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions tests/sumo/extended/bidiEdge/TWLT_insertion/options.sumo
@@ -0,0 +1,3 @@
--no-step-log --net-file=net.net.xml --routes=input_routes.rou.xml
--tripinfo-output tripinfos.xml
--collision.action warn
Empty file.
42 changes: 42 additions & 0 deletions tests/sumo/extended/bidiEdge/TWLT_insertion/tripinfos.sumo
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2023-07-05 18:09:05 by Eclipse SUMO sumo Version v1_18_0+0125-f889bec
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/sumoConfiguration.xsd">
<input>
<net-file value="net.net.xml"/>
<route-files value="input_routes.rou.xml"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<processing>
<collision.action value="warn"/>
<default.speeddev value="0"/>
</processing>
<report>
<xml-validation value="never"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<tripinfo id="v_1" depart="0.00" departLane="-E2_0" departPos="5.10" departSpeed="0.00" departDelay="0.00" arrival="19.00" arrivalLane="E3_0" arrivalPos="41.20" arrivalSpeed="13.26" duration="19.00" routeLength="143.10" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="7.16" rerouteNo="0" devices="tripinfo_v_1" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="v_0" depart="10.00" departLane="E1_1" departPos="5.10" departSpeed="0.00" departDelay="0.00" arrival="23.00" arrivalLane="E4_0" arrivalPos="41.20" arrivalSpeed="12.69" duration="13.00" routeLength="85.90" waitingTime="1.00" waitingCount="1" stopTime="0.00" timeLoss="5.54" rerouteNo="0" devices="tripinfo_v_0" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
3 changes: 3 additions & 0 deletions tests/sumo/extended/bidiEdge/testsuite.sumo
Expand Up @@ -36,3 +36,6 @@ TWLT_tls_2cons

# multiple vehicles entering bidi lane from side road, the side road targest the bidi lane as well as another lane
TWLT_tls_2cons2

# simulated shared median lane for turning (Two-Way-Left-Turn-lane)
TWLT_insertion

0 comments on commit c743778

Please sign in to comment.