mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
11 lines
205 B
OpenSCAD
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();
|