1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 12:00:23 +02:00
Files
dotSCAD/test/util/test_shuffle.scad
Justin Lin a7ab17c149 refactor
2022-03-17 21:05:29 +08:00

8 lines
165 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();