Make max-cell-sizes parameter a comma-separated list
This commit is contained in:
committed by
Patrick Niklaus
parent
ebd938a8fc
commit
dac929f8df
@@ -18,3 +18,9 @@ Feature: osrm-partition command line options: invalid options
|
||||
And stderr should contain "option"
|
||||
And stderr should contain "fly-me-to-the-moon"
|
||||
And it should exit with an error
|
||||
|
||||
Scenario: osrm-partition - Check non-descending order
|
||||
When I try to run "osrm-partition --max-cell-sizes 4,64,16 fly-me-to-the-moon.osrm"
|
||||
Then stdout should be empty
|
||||
And stderr should contain "must be sorted in non-descending order"
|
||||
And it should exit with an error
|
||||
|
||||
@@ -3,7 +3,7 @@ Feature: Multi level routing
|
||||
|
||||
Background:
|
||||
Given the profile "testbot"
|
||||
And the partition extra arguments "--small-component-size 1 --max-cell-sizes 4 16 64 --"
|
||||
And the partition extra arguments "--small-component-size 1 --max-cell-sizes 4,16,64"
|
||||
|
||||
Scenario: Testbot - Multi level routing check partition
|
||||
Given the node map
|
||||
@@ -31,7 +31,7 @@ Feature: Multi level routing
|
||||
| be | primary |
|
||||
|
||||
And the data has been extracted
|
||||
When I run "osrm-partition --max-cell-sizes 4 16 --small-component-size 1 {processed_file}"
|
||||
When I run "osrm-partition --max-cell-sizes 4,16 --small-component-size 1 {processed_file}"
|
||||
Then it should exit successfully
|
||||
And stdout should not contain "level 1 #cells 1 bit size 1"
|
||||
|
||||
@@ -111,7 +111,7 @@ Feature: Multi level routing
|
||||
│ │
|
||||
l───k
|
||||
"""
|
||||
And the partition extra arguments "--small-component-size 1 --max-cell-sizes 4 16 --"
|
||||
And the partition extra arguments "--small-component-size 1 --max-cell-sizes 4,16"
|
||||
And the ways
|
||||
| nodes | maxspeed |
|
||||
| abcda | 5 |
|
||||
|
||||
Reference in New Issue
Block a user