1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/test/util/test_contains.scad
2022-06-06 13:11:46 +08:00

12 lines
236 B
OpenSCAD

use <voxel/vx_circle.scad>
use <util/contains.scad>
module test_contains() {
echo("==== test_contains ====");
pts = vx_circle(10);
assert(contains(pts, [2, -10]));
assert(!contains(pts, [0, 0]));
}
test_contains();