Skip to content

Commit

Permalink
added test refs #21, #15864
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 6, 2024
1 parent ef0b69c commit c8e3c67
Show file tree
Hide file tree
Showing 28 changed files with 1,762 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/tools/config.tools
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ gtfs_missing:gtfs_missing.xml
gtfs_routes:gtfs_pt_vehicles.add.xml
gtfs_additional:gtfs_pt_stops.add.xml
aggregatebattery:aggregatebattery.xml
landmarks:landmarks.txt

[collate_script]
osmimport:$SUMO_HOME/tests/unzip.py
Expand Down
1 change: 1 addition & 0 deletions tests/tools/misc/generateLandmarks/example/errors.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Found no edges between angles -108 and -72
9 changes: 9 additions & 0 deletions tests/tools/misc/generateLandmarks/example/landmarks.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
24214693#1
22917251
7216737#0
-7216737#0
5198584
5198585#8
5784968#5
5784947#1
-6137233#0
Empty file.
1 change: 1 addition & 0 deletions tests/tools/misc/generateLandmarks/geo/errors.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Found no edges between angles -108 and -72
9 changes: 9 additions & 0 deletions tests/tools/misc/generateLandmarks/geo/landmarks.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
13.520016 52.426861
13.526645 52.425997
13.540884 52.425684
13.540977 52.425621
13.538071 52.428729
13.536644 52.430985
13.532695 52.430821
13.527856 52.431289
13.524152 52.429334
1 change: 1 addition & 0 deletions tests/tools/misc/generateLandmarks/geo/options.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--geo
Empty file.
1,676 changes: 1,676 additions & 0 deletions tests/tools/misc/generateLandmarks/net.net.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Found no edges between angles -108 and -72
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
24214693#1
22917251
7216737#0
-7216737#0
5198584
5198585#8
5784968#5
6137239#4
-6137233#0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--no-deadends
Empty file.
4 changes: 4 additions & 0 deletions tests/tools/misc/generateLandmarks/number/errors.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Found no edges between angles -126 and -108
Found no edges between angles -108 and -90
Found no edges between angles -90 and -72
Found no edges between angles -72 and -54
16 changes: 16 additions & 0 deletions tests/tools/misc/generateLandmarks/number/landmarks.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
24214693#1
24214694
22917251
7216737#0
-7216737#0
5198588#0
5198584
5198585#6
5198585#8
27445015#4
5784968#5
5198596#1
6137239#4
5784947#1
6137239#1
-6137233#0
1 change: 1 addition & 0 deletions tests/tools/misc/generateLandmarks/number/options.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-N 20
Empty file.
3 changes: 3 additions & 0 deletions tests/tools/misc/generateLandmarks/options.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-n net.net.xml
-o landmarks.txt
tools/generateLandmarks.py
2 changes: 2 additions & 0 deletions tests/tools/misc/generateLandmarks/priority/errors.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Found no edges between angles -108 and -72
Found no edges between angles 0 and 36
8 changes: 8 additions & 0 deletions tests/tools/misc/generateLandmarks/priority/landmarks.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
24214693#1
22917251
7216737#0
-7216737#0
27445015#4
27437972#0
27445015#2
27441189
1 change: 1 addition & 0 deletions tests/tools/misc/generateLandmarks/priority/options.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--min-priority 10
Empty file.
6 changes: 6 additions & 0 deletions tests/tools/misc/generateLandmarks/testsuite.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
example
number
geo
vClass
priority
no-deadends
1 change: 1 addition & 0 deletions tests/tools/misc/generateLandmarks/vClass/errors.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Found no edges between angles -108 and -72
9 changes: 9 additions & 0 deletions tests/tools/misc/generateLandmarks/vClass/landmarks.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
24214693#1
22917251
7216737#0
-7216737#0
5198584
5198585#8
5784968#5
5784947#1
-6137233#0
1 change: 1 addition & 0 deletions tests/tools/misc/generateLandmarks/vClass/options.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--vclass pedestrian
Empty file.
1 change: 1 addition & 0 deletions tests/tools/misc/testsuite.tools
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ generateContinuousRerouters
extractTest
runSeeds
distributeChargingStations
generateLandmarks

0 comments on commit c8e3c67

Please sign in to comment.