1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-30 19:40:24 +02:00
This commit is contained in:
Justin Lin
2022-03-11 20:54:49 +08:00
parent b07b1b1f3d
commit 84e5fb4c7b
2 changed files with 11 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ include <util/test_zip.scad>;
include <util/test_some.scad>;
include <util/test_every.scad>;
include <util/test_shuffle.scad>;
include <util/test_find_index.scad>;
include <util/test_spherical_coordinate.scad>;
include <util/set/test_hashset.scad>;
include <util/map/test_hashmap.scad>;

View File

@@ -0,0 +1,10 @@
use <unittest.scad>;
use <util/find_index.scad>;
module test_find_index() {
echo("==== test_find_index ====");
assert(find_index([10, 20, 30, 40], function(e) e > 10) == 1);
}
test_find_index();