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
2022-06-06 13:11:46 +08:00

11 lines
204 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();