USING: enigma kernel math sequences sorting tools.test ; IN: enigma.tests [ t ] [ natural-sort 26 iota sequence= ] unit-test [ "" ] [ "" 4 encode ] unit-test [ "hello, world" ] [ "hello, world" 4 [ encode ] keep reset-cogs encode ] unit-test