1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-20 13:31:30 +02:00

update choose

This commit is contained in:
Justin Lin
2021-02-08 09:57:35 +08:00
parent cc2251c05f
commit d26d4dfabd
5 changed files with 14 additions and 2 deletions

View 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();