Major update:

Adaptions to test with respect to new namespace model
Removed GMP/CLN and, where it was present, replaced by TTMATH
Small fix in comparable_distance test
All testfiles use bg as alias now

[SVN r66811]
This commit is contained in:
Barend Gehrels
2010-11-28 13:28:09 +00:00
parent 773131faa5
commit e4f47a7a25
180 changed files with 2391 additions and 2464 deletions

View File

@@ -24,13 +24,13 @@ template <typename Segment>
void test_geometry(std::string const& wkt, std::string const& expected)
{
Segment segment;
boost::geometry::read_wkt(wkt, segment);
bg::read_wkt(wkt, segment);
std::ostringstream out;
boost::geometry::segment_range_iterator<Segment> it(segment), end(segment, true);
bg::segment_range_iterator<Segment> it(segment), end(segment, true);
for ( ; it != end; ++it)
{
out << " " << boost::geometry::get<0>(*it) << boost::geometry::get<1>(*it);
out << " " << bg::get<0>(*it) << bg::get<1>(*it);
}
BOOST_CHECK_EQUAL(out.str(), expected);
}
@@ -46,7 +46,7 @@ void test_all()
int test_main(int, char* [])
{
test_all<boost::geometry::point_2d>();
test_all<bg::model::point_2d>();
return 0;
}