Skip to content

Commit

Permalink
added test refs #21, #15934
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 19, 2024
1 parent d8744c6 commit 409b7ba
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/tools/visualization/plotXMLAttributes/testsuite.tools
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,6 @@ no_linebreaks_robust

# xml input contains no linebreaks, using robust parser (all attributes in one element)
no_linebreaks_robust2

# split value into list
vehroute_exitTimes
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
# "v0"
0.0 1.02
0.0 1.52
0.0 1.78
0.0 2.07
0.0 2.74
0.0 3.24
0.0 3.45
0.0 4.05
0.0 4.64
0.0 6.85
0.0 26.24
0.0 27.74
0.0 30.47
0.0 31.48
0.0 31.95
0.0 35.01
0.0 53.11
0.0 56.71
0.0 56.94
0.0 57.33
0.0 57.8
0.0 58.33
0.0 58.8
0.0 67.47
0.0 68.5
0.0 69.7
0.0 72.56
0.0 72.96
0.0 73.58
0.0 73.94
0.0 76.24
0.0 80.75
0.0 81.3
0.0 81.69
0.0 82.1
0.0 82.94
0.0 83.42
0.0 84.03
0.0 84.79
0.0 85.06
0.0 86.66
0.0 89.54
0.0 90.94
0.0 92.83
0.0 93.97
0.0 94.42
0.0 94.95
0.0 95.83
0.0 96.43
0.0 103.44
0.0 112.19
0.0 119.26
0.0 119.98
0.0 129.48
0.0 129.97
0.0 130.47
0.0 132.15
0.0 133.59
0.0 135.76
0.0 138.83
0.0 140.26
0.0 141.06
0.0 142.59
0.0 146.98
0.0 149.09
0.0 152.75
0.0 155.65
0.0 163.66
0.0 164.48
0.0 169.21
0.0 171.29
0.0 171.6
0.0 173.71
0.0 174.82
0.0 175.33
0.0 175.68
0.0 178.45
0.0 178.72
0.0 179.25
0.0 180.95
0.0 181.93
0.0 184.03
0.0 184.73
0.0 185.42
0.0 186.11
0.0 187.76
0.0 188.49
0.0 189.11
0.0 192.57
0.0 194.33
0.0 194.87
0.0 200.63
0.0 201.36
0.0 202.92
0.0 203.35
0.0 206.46
0.0 207.82
0.0 209.93
0.0 210.34
0.0 211.61
0.0 212.19
0.0 212.77
0.0 214.71
0.0 215.08
0.0 215.24
0.0 217.9
0.0 222.03
0.0 222.5
0.0 223.1
0.0 223.47
0.0 224.11
0.0 225.51
0.0 226.21
0.0 230.99
0.0 233.88
0.0 239.2
0.0 249.23
0.0 250.63
0.0 252.69
0.0 258.52
0.0 270.72
0.0 277.62
0.0 278.32
0.0 279.26
0.0 279.94
0.0 280.88
0.0 281.34
0.0 284.99
0.0 285.6
0.0 286.46
0.0 290.86
0.0 291.1
0.0 292.43
0.0 292.84
0.0 293.14
0.0 293.45
0.0 293.78
0.0 294.71
0.0 300.37
0.0 302.25
0.0 304.91
0.0 305.66
0.0 306.48
0.0 308.14
0.0 312.12
0.0 312.53
0.0 313.41
0.0 313.86
0.0 314.21
0.0 314.54
0.0 315.17
0.0 318.92
0.0 319.22
0.0 319.67
0.0 324.33
0.0 324.78
0.0 325.19
0.0 325.31
0.0 326.01
0.0 326.8
0.0 332.1
0.0 338.03
0.0 342.06
0.0 345.13
0.0 346.98
0.0 347.99
0.0 349.52
0.0 350.77
0.0 354.58
0.0 355.6
0.0 356.57
0.0 357.06
0.0 359.27
0.0 361.88
0.0 366.45
0.0 368.59
0.0 369.54
0.0 373.74
0.0 374.69
0.0 375.26
0.0 377.14
0.0 379.62
0.0 381.47
0.0 384.21
0.0 384.92
0.0 386.6
0.0 386.74
0.0 386.9
0.0 388.61
0.0 390.5
0.0 394.47
0.0 396.54
0.0 402.15
0.0 403.62
0.0 405.19
0.0 411.57
0.0 412.62
0.0 413.02
0.0 414.3
0.0 422.45
0.0 429.31
0.0 430.75
0.0 434.76
0.0 440.6
0.0 443.76
0.0 458.75
0.0 465.01
0.0 476.7
0.0 478.67
0.0 483.06
0.0 488.11
0.0 494.95
0.0 503.12
0.0 505.45
0.0 513.9
0.0 521.78


Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vehicle id="v0" depart="0.00">
<route edges="531478184 667962518 325333087#0 325333087#1 325333087#2 4301497#0 4301497#1 4301497#2 667962474 84520249 3700627 667962509 257169427 667962498 667962496#0 667962496#1 257169426 314310285#0 314310285#1 1240316890#0 1240316890#1 215637198#0 215637198#1 215637198#2 387749821#0 387749821#1 387749819 387749822#0 387749822#1 387749822#2 387749820 257169425 174195119 3700628#0 3700628#1 3700628#2 209032407 209032408#0 209032408#1 209032408#2 174195118 698375234 698375233 257167922#0 257167922#1 368618092#0 368618092#1 368618092#2 386884830 28793955 488351875 488351874 3700629#0 3700629#1 3700634 1137107147 35403958#0 35403958#1 1167208161#0 1167208161#1 678083849 3700736 1077126313 313172279 693824868 313176442#0 313176442#1 -14979729#0 -876053877#1 -876053877#0 -1159753017#1 -1159753017#0 -1159753018 -8568221#2 -8568221#1 -8568221#0 165349775#7 152425361#0 152425361#1 152425359 1116119297 1116119350 1150731149 8568215#0 8568215#1 1204322928#0 1204322928#1 1199529572 11826266#0 11826266#1 11826266#2 11826266#3 1028790159#0 1028790159#1 -1179810368#3 -1179810368#2 -1179810368#1 -1179810368#0 -314655129#5 -314655129#4 -314655129#3 -314655129#2 -314655129#1 -314655129#0 -1185737248#1 -1185737248#0 -732103054 -1028790157 -732103053 -120829712 -132333494 11826270#0 11826270#1 210446466#0 210446466#1 210446464#0 106112305#1 250825868#0 250825868#1 250825868#2 326302341 423234910 1031454156 965641919 1182298705#0 1182298705#1 1182298705#2 1182298838 1182298839#0 1182298839#1 253338195#0 253338195#1 253338195#2 253338195#3 253338195#4 1120368348#0 1120368348#1 1120368348#2 11827008#0 11827008#1 11827008#2 49590508#0 49590508#1 49590508#2 49590508#3 49590508#4 49590508#5 49590508#6 49590508#7 49590508#8 380770367#0 380770367#1 380770367#2 387696133 285780503 25747607#0 25747607#1 25747607#2 25747607#3 1205204826 277776634 1105063868 25747608 1120366742#0 1120366742#1 131682669#0 131682669#1 131682668 361260483#0 361260483#1 -361260477#1 -361260477#0 -361260481#1 -361260481#0 -47518994#6 -47518994#5 -47518994#4 -47518994#3 -47518994#2 -47518994#1 -47518994#0 -313885920 -4350014#2 -4350014#1 -4350014#0 -4350013#2 -4350013#1 -4350013#0 -165114355 -165114361#1 -165114361#0 160988456#0 160988456#1 134803962 30245574#0 30245574#1 386576250#0 386576250#1 386576250#2 4304799 313885924 4304803 470009426 386576249 940469741 940469742 940469740 143257845 386708243 127432884 4304798#0 4304798#1 213562882 23157137 23157133 25483415" exitTimes="1.02 1.52 1.78 2.07 2.74 3.24 3.45 4.05 4.64 6.85 26.24 27.74 30.47 31.48 31.95 35.01 53.11 56.71 56.94 57.33 57.80 58.33 58.80 67.47 68.50 69.70 72.56 72.96 73.58 73.94 76.24 80.75 81.30 81.69 82.10 82.94 83.42 84.03 84.79 85.06 86.66 89.54 90.94 92.83 93.97 94.42 94.95 95.83 96.43 103.44 112.19 119.26 119.98 129.48 129.97 130.47 132.15 133.59 135.76 138.83 140.26 141.06 142.59 146.98 149.09 152.75 155.65 163.66 164.48 169.21 171.29 171.60 173.71 174.82 175.33 175.68 178.45 178.72 179.25 180.95 181.93 184.03 184.73 185.42 186.11 187.76 188.49 189.11 192.57 194.33 194.87 200.63 201.36 202.92 203.35 206.46 207.82 209.93 210.34 211.61 212.19 212.77 214.71 215.08 215.24 217.90 222.03 222.50 223.10 223.47 224.11 225.51 226.21 230.99 233.88 239.20 249.23 250.63 252.69 258.52 270.72 277.62 278.32 279.26 279.94 280.88 281.34 284.99 285.60 286.46 290.86 291.10 292.43 292.84 293.14 293.45 293.78 294.71 300.37 302.25 304.91 305.66 306.48 308.14 312.12 312.53 313.41 313.86 314.21 314.54 315.17 318.92 319.22 319.67 324.33 324.78 325.19 325.31 326.01 326.80 332.10 338.03 342.06 345.13 346.98 347.99 349.52 350.77 354.58 355.60 356.57 357.06 359.27 361.88 366.45 368.59 369.54 373.74 374.69 375.26 377.14 379.62 381.47 384.21 384.92 386.60 386.74 386.90 388.61 390.50 394.47 396.54 402.15 403.62 405.19 411.57 412.62 413.02 414.30 422.45 429.31 430.75 434.76 440.60 443.76 458.75 465.01 476.70 478.67 483.06 488.11 494.95 503.12 505.45 513.90 521.78"/>
<param key="routeID" value="commercialPersonTraffic_service_StadtLeipzig_9_3_24_0_0"/>
</vehicle>
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
input_data.xml -o image.png --csv-output out.csv
-x @INDEX -y exitTimes --split-y
tools/visualization/plotXMLAttributes.py
Empty file.

0 comments on commit 409b7ba

Please sign in to comment.