mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-09-03 03:42:37 +02:00
test reorganization
This commit is contained in:
12
tests/test_regions.scad
Normal file
12
tests/test_regions.scad
Normal file
@@ -0,0 +1,12 @@
|
||||
include<../std.scad>
|
||||
|
||||
module test_is_region() {
|
||||
assert(is_region([circle(d=10),square(10)]));
|
||||
assert(is_region([circle(d=10),square(10),circle(d=50)]));
|
||||
assert(is_region([square(10)]));
|
||||
assert(!is_region([]));
|
||||
assert(!is_region(23));
|
||||
assert(!is_region(true));
|
||||
assert(!is_region("foo"));
|
||||
}
|
||||
test_is_region();
|
Reference in New Issue
Block a user