mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-15 11:14:17 +02:00
update test
This commit is contained in:
@@ -3,8 +3,8 @@ use <util/find_index.scad>;
|
|||||||
|
|
||||||
module test_find_index() {
|
module test_find_index() {
|
||||||
echo("==== test_find_index ====");
|
echo("==== test_find_index ====");
|
||||||
|
|
||||||
assert(find_index([10, 20, 30, 40], function(e) e > 10) == 1);
|
assert(find_index([10, 20, 30, 40], function(e) e > 10) == 1);
|
||||||
|
assert(find_index([10, 20, 30, 40], function(e) e > 50) == -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
test_find_index();
|
test_find_index();
|
Reference in New Issue
Block a user