]> gitweb.factorcode.org Git - factor.git/blob - basis/shuffle/shuffle-tests.factor
core: Add the shuffler words but without primitives.
[factor.git] / basis / shuffle / shuffle-tests.factor
1 USING: shuffle tools.test ;
2
3 { 1 2 3 4 } [ 3 4 1 2 2swap ] unit-test
4
5 { 4 2 3 } [ 1 2 3 4 shuffle( a b c d -- d b c ) ] unit-test