checksums: fix test using.

char-rename
John Benediktsson 2016-06-30 14:47:18 -07:00
parent 5abccb1391
commit 8d61ace2b4
2 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,8 @@
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: byte-arrays checksums checksums.md5 io.encodings.binary
io.streams.byte-array kernel math.parser sequences tools.test ;
USING: byte-arrays checksums checksums.common checksums.md5
io.encodings.binary io.streams.byte-array kernel math.parser
sequences tools.test ;
{ "d41d8cd98f00b204e9800998ecf8427e" } [ "" >byte-array md5 checksum-bytes bytes>hex-string ] unit-test
{ "0cc175b9c0f1b6a831c399e269772661" } [ "a" >byte-array md5 checksum-bytes bytes>hex-string ] unit-test

View File

@ -1,6 +1,6 @@
USING: arrays checksums checksums.sha checksums.sha.private
io.encodings.binary io.streams.byte-array kernel math.parser
sequences tools.test ;
USING: arrays checksums checksums.common checksums.sha
checksums.sha.private io.encodings.binary io.streams.byte-array
kernel math.parser sequences tools.test ;
IN: checksums.sha.tests
: test-checksum ( text identifier -- checksum )