mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
Fix tests
This commit is contained in:
parent
f10060c936
commit
a03a102379
@ -226,7 +226,7 @@ void test_all()
|
||||
test_wrong_wkt<P>("POINT(1 2", "expected ')'");
|
||||
test_wrong_wkt<P>("POINT 1 2)", "expected '('");
|
||||
test_wrong_wkt<P>("POINT(1 2,)", "expected ')'");
|
||||
test_wrong_wkt<P>("POINT(1 2)foo", "too much tokens at 'foo'");
|
||||
test_wrong_wkt<P>("POINT(1 2)foo", "too many tokens at 'foo'");
|
||||
test_wrong_wkt<P>("POINT(1 2 3)", "expected ')'");
|
||||
test_wrong_wkt<P>("POINT(a 2 3)", "bad lexical cast");
|
||||
test_wrong_wkt<P>("POINT 2 3", "expected '('");
|
||||
@ -234,7 +234,7 @@ void test_all()
|
||||
|
||||
test_wrong_wkt<P>("PIONT (1 2)", "should start with 'point'");
|
||||
|
||||
test_wrong_wkt<bg::model::linestring<P> >("LINESTRING())", "too much tokens");
|
||||
test_wrong_wkt<bg::model::linestring<P> >("LINESTRING())", "too many tokens");
|
||||
|
||||
test_wrong_wkt<bg::model::polygon<P> >("POLYGON((1 1,1 4,4 4,4 1,1 1)"
|
||||
",((2 2,2 3,3 3,3 2,2 2))", "bad lexical cast");
|
||||
|
@ -86,7 +86,7 @@ void test_all()
|
||||
|
||||
test_wrong_wkt<bg::model::multi_linestring<bg::model::linestring<P> > >(
|
||||
"MULTILINESTRING ((10 10, 20 20, 10 40), (40 40, 30 30, 40 20, 30 10)), (0 0, 1 1)",
|
||||
"too much tokens at ','");
|
||||
"too many tokens at ','");
|
||||
|
||||
test_wrong_wkt<bg::model::multi_point<P> >(
|
||||
"MULTIPOINT((8 9), 10 11)",
|
||||
@ -99,7 +99,7 @@ void test_all()
|
||||
"expected ')' in 'multipoint((16 17), (18 19)'");
|
||||
test_wrong_wkt<bg::model::multi_point<P> >(
|
||||
"MULTIPOINT(16 17), (18 19)",
|
||||
"too much tokens at ',' in 'multipoint(16 17), (18 19)'");
|
||||
"too many tokens at ',' in 'multipoint(16 17), (18 19)'");
|
||||
|
||||
test_order_closure<T>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user