1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-24 21:41:33 +02:00
Files
dotSCAD/test/util/test_every.scad
Justin Lin c31b9f12fe add test
2021-02-26 12:13:31 +08:00

10 lines
220 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();