Fixed perl unit tests
This commit is contained in:
parent
a2de09e11e
commit
5764d8984c
@ -71,7 +71,7 @@ diff(subject, clip, safety_offset = false)
|
|||||||
Polygons clip
|
Polygons clip
|
||||||
bool safety_offset
|
bool safety_offset
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = diff(subject, clip, safety_offset);
|
RETVAL = diff(subject, clip, safety_offset ? ApplySafetyOffset::Yes : ApplySafetyOffset::No);
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ diff_ex(subject, clip, safety_offset = false)
|
|||||||
Polygons clip
|
Polygons clip
|
||||||
bool safety_offset
|
bool safety_offset
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = diff_ex(subject, clip, safety_offset);
|
RETVAL = diff_ex(subject, clip, safety_offset ? ApplySafetyOffset::Yes : ApplySafetyOffset::No);
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ intersection(subject, clip, safety_offset = false)
|
|||||||
Polygons clip
|
Polygons clip
|
||||||
bool safety_offset
|
bool safety_offset
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = intersection(subject, clip, safety_offset);
|
RETVAL = intersection(subject, clip, safety_offset ? ApplySafetyOffset::Yes : ApplySafetyOffset::No);
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ intersection_ex(subject, clip, safety_offset = false)
|
|||||||
Polygons clip
|
Polygons clip
|
||||||
bool safety_offset
|
bool safety_offset
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = intersection_ex(subject, clip, safety_offset);
|
RETVAL = intersection_ex(subject, clip, safety_offset ? ApplySafetyOffset::Yes : ApplySafetyOffset::No);
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ union(subject, safety_offset = false)
|
|||||||
Polygons subject
|
Polygons subject
|
||||||
bool safety_offset
|
bool safety_offset
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = union_(subject, safety_offset);
|
RETVAL = safety_offset ? union_safety_offset(subject) : union_(subject);
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
@ -137,7 +137,7 @@ union_ex(subject, safety_offset = false)
|
|||||||
Polygons subject
|
Polygons subject
|
||||||
bool safety_offset
|
bool safety_offset
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = union_ex(subject, safety_offset);
|
RETVAL = safety_offset ? union_safety_offset_ex(subject) : union_ex(subject);
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user