mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
12 lines
236 B
OpenSCAD
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(); |