/ test / util / test_shuffle.scad
test_shuffle.scad
1  use <util/shuffle.scad>
2  
3  module test_shuffle() {
4      echo("==== test_shuffle ====");
5      assert(shuffle([1, 2, 3, 4], seed = 1) == [3, 1, 4, 2]);
6  }
7  
8  test_shuffle();