mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
10 lines
219 B
OpenSCAD
10 lines
219 B
OpenSCAD
use <util/every.scad>
|
|
|
|
module test_every() {
|
|
echo("==== test_every ====");
|
|
|
|
assert(every([1, 2, 3, 4, 5], function(elem) elem > 0));
|
|
assert(!every([1, 2, 3, 4, 5], function(elem) elem > 3));
|
|
}
|
|
|
|
test_every(); |