ext/digest/test.scm
raw| 1 | (use gauche.test) |
| 2 | (test-start "digest framework") |
| 3 | |
| 4 | (use util.digest) |
| 5 | (test-module 'util.digest) |
| 6 | |
| 7 | ;; digest-hexify with uvector |
| 8 | (test* "digest-hexify" |
| 9 | "0123456789abcdef" |
| 10 | (digest-hexify '#u8(1 #x23 #x45 #x67 #x89 #xab #xcd #xef))) |
| 11 | |
| 12 | (include "test-md5") |
| 13 | (include "test-sha") |
| 14 | (include "test-hmac") |
| 15 | |
| 16 | (test-end) |