Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
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();bb33edfd7This file is pinned to the selected release. Download the original to open it in your design tool.