You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
289 B

(import ../hashids :as h)
(let
[{:salt salt
:alphabet alphabet
:seps seps
:min-length min-length} (h/setup {})]
(assert (= h/DEFAULT_SALT salt))
(assert (= h/DEFAULT_ALPHABET alphabet))
(assert (= h/DEFAULT_SEPS seps))
(assert (= h/DEFAULT_MIN_LENGTH min-length))
)