mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 22:28:16 +01:00
8 lines
165 B
OpenSCAD
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(); |