mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
8 lines
164 B
OpenSCAD
8 lines
164 B
OpenSCAD
use <util/shuffle.scad>
|
|
|
|
module test_shuffle() {
|
|
echo("==== test_shuffle ====");
|
|
assert(shuffle([1, 2, 3, 4], seed = 1) == [3, 1, 4, 2]);
|
|
}
|
|
|
|
test_shuffle(); |