mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-12 14:01:47 +00:00
[test][equals] Add test for the reversed order of parameters.
This commit is contained in:
parent
456f2f98f0
commit
b1fb018c11
@ -31,6 +31,15 @@ void check_geometry(Geometry1 const& geometry1,
|
|||||||
{
|
{
|
||||||
bool detected = bg::equals(geometry1, geometry2);
|
bool detected = bg::equals(geometry1, geometry2);
|
||||||
|
|
||||||
|
BOOST_CHECK_MESSAGE(detected == expected,
|
||||||
|
"case: " << caseid
|
||||||
|
<< " equals: " << wkt1
|
||||||
|
<< " to " << wkt2
|
||||||
|
<< " -> Expected: " << expected
|
||||||
|
<< " detected: " << detected);
|
||||||
|
|
||||||
|
detected = bg::equals(geometry2, geometry1);
|
||||||
|
|
||||||
BOOST_CHECK_MESSAGE(detected == expected,
|
BOOST_CHECK_MESSAGE(detected == expected,
|
||||||
"case: " << caseid
|
"case: " << caseid
|
||||||
<< " equals: " << wkt1
|
<< " equals: " << wkt1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user