1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-09 06:11:01 +02:00
This commit is contained in:
Justin Lin
2022-03-11 15:10:51 +08:00
parent fbca4bd868
commit 88a970b2ba
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
use <unittest.scad>;
use <util/shuffle.scad>;
module test_shuffle() {
echo("==== test_shuffle ====");
assert(shuffle([1, 2, 3, 4], seed = 1) == [3, 1, 4, 2]);
}
test_shuffle();