mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 13:31:30 +02:00
update choose
This commit is contained in:
11
test/util/test_choose.scad
Normal file
11
test/util/test_choose.scad
Normal file
@@ -0,0 +1,11 @@
|
||||
use <util/choose.scad>;
|
||||
|
||||
module test_choose() {
|
||||
echo("==== test_choose ====");
|
||||
|
||||
lt = [[1, true], [2, true], [3, true], [4, true], [5, true]];
|
||||
c = choose(lt);
|
||||
assert(c[1]);
|
||||
}
|
||||
|
||||
test_choose();
|
Reference in New Issue
Block a user