[buffer] stop in case of numeric errors in side strategy

This commit is contained in:
barendgehrels
2015-05-24 11:22:45 +02:00
parent 62fa2ccc59
commit ad088fcf02
3 changed files with 46 additions and 7 deletions

View File

@@ -99,10 +99,12 @@ void test_all()
test_one<multi_linestring_type, polygon>("mikado4_small", mikado4, join_round32, end_round32, 2103.686, 10.0);
test_one<multi_linestring_type, polygon>("mikado4_small", mikado4, join_round32, end_flat, 1930.785, 10.0);
#if defined(BOOST_GEOMETRY_BUFFER_INCLUDE_FAILING_TESTS)
// Coordinates vary so much that
// length = geometry::math::sqrt(dx * dx + dy * dy); returns a value of inf for length
// Buffer is still generated though (see also linestring.cpp)
test_one<multi_linestring_type, polygon>("mysql_2015_04_10", mysql_2015_04_10, join_round32, end_round32, 15471237017.3871, 0.98);
#endif
}