mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-01 18:54:39 +02:00
add test
This commit is contained in:
@@ -4,7 +4,7 @@ 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));
|
||||
assert(!every([1, 2, 3, 4, 5], function(elem) elem > 3));
|
||||
}
|
||||
|
||||
test_every();
|
Reference in New Issue
Block a user