Tests for decode-string

db4
Daniel Ehrenberg 2008-03-05 17:49:02 -06:00
parent e06885550e
commit 1abb7c643e
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
USING: io.encodings.utf8 io.encodings.utf16 io.encodings.string tools.test ;
IN: io.encodings.string.tests
[ "hello" ] [ "hello" utf8 decode-string ] unit-test
[ "he" ] [ "\0h\0e" utf16be decode-string ] unit-test

View File

@ -1,4 +1,4 @@
USING: io.sockets io kernel math threads
USING: io.sockets io kernel math threads io.encodings.ascii
debugger tools.time prettyprint concurrency.count-downs
namespaces arrays continuations ;
IN: benchmark.sockets