mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-26 16:04:46 +02:00
add test
This commit is contained in:
10
test/util/test_every.scad
Normal file
10
test/util/test_every.scad
Normal file
@@ -0,0 +1,10 @@
|
||||
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();
|
Reference in New Issue
Block a user