mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 21:44:04 +00:00
[test][simplify] remove unused local typedef;
uncomment concept check for simplify strategy;
This commit is contained in:
parent
54c824a7dd
commit
43c253fd27
@ -168,13 +168,12 @@ void test_geometry(std::string const& wkt,
|
|||||||
DistanceMeasure const& distance,
|
DistanceMeasure const& distance,
|
||||||
Strategy const& strategy)
|
Strategy const& strategy)
|
||||||
{
|
{
|
||||||
//typedef typename bg::point_type<Geometry>::type point_type;
|
|
||||||
|
|
||||||
Geometry geometry;
|
Geometry geometry;
|
||||||
bg::read_wkt(wkt, geometry);
|
bg::read_wkt(wkt, geometry);
|
||||||
boost::variant<Geometry> v(geometry);
|
boost::variant<Geometry> v(geometry);
|
||||||
|
|
||||||
//BOOST_CONCEPT_ASSERT( (bg::concept::SimplifyStrategy<Strategy, point_type>) );
|
BOOST_CONCEPT_ASSERT( (bg::concept::SimplifyStrategy<Strategy,
|
||||||
|
typename bg::point_type<Geometry>::type>) );
|
||||||
|
|
||||||
check_geometry(geometry, expected, distance, strategy);
|
check_geometry(geometry, expected, distance, strategy);
|
||||||
check_geometry(v, expected, distance, strategy);
|
check_geometry(v, expected, distance, strategy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user