1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/test/util/test_choose.scad
2021-02-24 14:33:55 +08:00

11 lines
205 B
OpenSCAD

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