1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 04:51:26 +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

@@ -74,6 +74,7 @@ include <util/test_some.scad>;
include <util/test_every.scad>;
include <util/set/test_hashset.scad>;
include <util/map/test_hashmap.scad>;
include <util/test_shuffle.scad>;
// Voxel
include <voxel/test_vx_line.scad>;

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();