Updated test data.

This commit is contained in:
Matthias Koefferlein 2019-10-03 14:21:29 +02:00
parent e1d77a1476
commit c6e5a785ea
11 changed files with 17 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -47,7 +47,7 @@ def run_testsuite(dm, ic, tiled = false, hier = false)
a.join(b).xor(a + b).is_empty? || raise("xor not empty") a.join(b).xor(a + b).is_empty? || raise("xor not empty")
if !tiled if !tiled
expect_eq(a.join(b).data.size, 16 * ic) expect_eq(a.join(b).data.size, 17 * ic)
end end
# NOTE: there is no clean/raw semantics in deep mode # NOTE: there is no clean/raw semantics in deep mode
@ -572,6 +572,22 @@ def run_testsuite(dm, ic, tiled = false, hier = false)
message "--- odd polygon check #{lb}" message "--- odd polygon check #{lb}"
y.odd_polygons.output(lb, dm) y.odd_polygons.output(lb, dm)
lb += 10 #430
message "--- pull_inside, pull_overlapping, pull_interacting #{lb}"
p = c.pull_inside(b)
p.output(lb, dm)
p = c.pull_interacting(b)
p.output(lb + 1, dm)
p = c.pull_overlapping(b)
p.output(lb + 2, dm)
p = c.pull_interacting(b.edges)
p.output(lb + 3, dm)
p = c.edges.pull_interacting(b)
p.output(lb + 4, dm)
p = c.edges.pull_interacting(b.edges)
p.output(lb + 5, dm)
end end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.