Skip to content

Commit

Permalink
restored missing tools tests refs #21, #14376
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 21, 2024
1 parent d0a5d50 commit 5972741
Show file tree
Hide file tree
Showing 18 changed files with 8,328 additions and 8,349 deletions.
4 changes: 4 additions & 0 deletions tests/tools/net/generator/config.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run_dependent_text]
output:Parsing nodes from '.*{REPLACE Parsing nodes from FILE}
output:Parsing edges from '.*{REPLACE Parsing edges from FILE}
output:Parsing connections from '.*{REPLACE Parsing connections from FILE}
2,815 changes: 1,405 additions & 1,410 deletions tests/tools/net/generator/corridor/net.tools

Large diffs are not rendered by default.

50 changes: 26 additions & 24 deletions tests/tools/net/generator/corridor/output.tools
Original file line number Diff line number Diff line change
@@ -1,40 +1,42 @@
Parsing nodes from 'nodes.nod.xml'... done.
Parsing edges from 'edges.edg.xml'... done.
Parsing connections from 'connections.con.xml'... done.
Parsing nodes from '/tmp/tmpoy0dttb_' ... done.
Parsing edges from '/tmp/tmpj0bamhx4' ... done.
Parsing connections from '/tmp/tmptqnz8dge' ... done.
Import done:
32 nodes loaded.
62 edges loaded.
Removing self-loops... done.
Removing empty nodes... done.
Removing self-loops ... done (0ms).
Removing empty nodes ... done (0ms).
0 nodes removed.
Moving network to origin... done.
Joining similar edges... done.
Computing turning directions... done.
Sorting nodes' edges... done.
Computing node types... done.
Computing priorities... done.
Computing approached edges... done.
Computing approaching lanes... done.
Dividing of lanes on approached lanes... done.
Processing turnarounds... done.
Rechecking of lane endings... done.
Computing node shapes... done.
Computing edge shapes... done.
Assigning nodes to traffic lights... done.
Computing traffic light control information... done.
Computing node logics... done.
Computing traffic light logics... done.
Moving network to origin ... done (0ms).
Computing turning directions ... done (0ms).
Assigning nodes to traffic lights ... done (0ms).
Sorting nodes' edges ... done (0ms).
Computing node shapes ... done (1ms).
Computing edge shapes ... done (0ms).
Computing node types ... done (0ms).
Computing priorities ... done (0ms).
Computing approached edges ... done (0ms).
Guessing and setting roundabouts ... done (0ms).
Computing approaching lanes ... done (1ms).
Dividing of lanes on approached lanes ... done (0ms).
Processing turnarounds ... done (0ms).
Rechecking of lane endings ... done (0ms).
Computing traffic light control information ... done (0ms).
Computing node logics ... done (1ms).
Computing traffic light logics ... done (0ms).
10 traffic light(s) computed.
Building inner edges... done.
Building inner edges ... done (3ms).
-----------------------------------------------------
Summary:
Node type statistics:
Unregulated junctions : 0
Priority junctions : 32
Priority junctions : 22
Right-before-left junctions : 0
Traffic light junctions : 10
Network boundaries:
Original boundary : 0.00,0.00,5500.00,1000.00
Applied offset : 0.00,0.00
Converted boundary : 0.00,0.00,5500.00,1000.00
-----------------------------------------------------
Writing network ... done (9ms).
Success.
313 changes: 154 additions & 159 deletions tests/tools/net/generator/cross/net.tools

Large diffs are not rendered by default.

50 changes: 26 additions & 24 deletions tests/tools/net/generator/cross/output.tools
Original file line number Diff line number Diff line change
@@ -1,40 +1,42 @@
Parsing nodes from 'nodes.nod.xml'... done.
Parsing edges from 'edges.edg.xml'... done.
Parsing connections from 'connections.con.xml'... done.
Parsing nodes from '/tmp/tmp4rtwf8av' ... done.
Parsing edges from '/tmp/tmpot058jst' ... done.
Parsing connections from '/tmp/tmpyzmackt3' ... done.
Import done:
5 nodes loaded.
8 edges loaded.
Removing self-loops... done.
Removing empty nodes... done.
Removing self-loops ... done (0ms).
Removing empty nodes ... done (0ms).
0 nodes removed.
Moving network to origin... done.
Joining similar edges... done.
Computing turning directions... done.
Sorting nodes' edges... done.
Computing node types... done.
Computing priorities... done.
Computing approached edges... done.
Computing approaching lanes... done.
Dividing of lanes on approached lanes... done.
Processing turnarounds... done.
Rechecking of lane endings... done.
Computing node shapes... done.
Computing edge shapes... done.
Assigning nodes to traffic lights... done.
Computing traffic light control information... done.
Computing node logics... done.
Computing traffic light logics... done.
Moving network to origin ... done (0ms).
Computing turning directions ... done (0ms).
Assigning nodes to traffic lights ... done (0ms).
Sorting nodes' edges ... done (0ms).
Computing node shapes ... done (0ms).
Computing edge shapes ... done (0ms).
Computing node types ... done (0ms).
Computing priorities ... done (0ms).
Computing approached edges ... done (1ms).
Guessing and setting roundabouts ... done (0ms).
Computing approaching lanes ... done (0ms).
Dividing of lanes on approached lanes ... done (0ms).
Processing turnarounds ... done (0ms).
Rechecking of lane endings ... done (0ms).
Computing traffic light control information ... done (0ms).
Computing node logics ... done (0ms).
Computing traffic light logics ... done (0ms).
1 traffic light(s) computed.
Building inner edges... done.
Building inner edges ... done (1ms).
-----------------------------------------------------
Summary:
Node type statistics:
Unregulated junctions : 0
Priority junctions : 5
Priority junctions : 4
Right-before-left junctions : 0
Traffic light junctions : 1
Network boundaries:
Original boundary : 0.00,0.00,1000.00,1000.00
Applied offset : 0.00,0.00
Converted boundary : 0.00,0.00,1000.00,1000.00
-----------------------------------------------------
Writing network ... done (4ms).
Success.

0 comments on commit 5972741

Please sign in to comment.