Login
7 branches 0 tags
Ben (X13/Arch) Fixed testsuite 10bf516 3 years ago 848 Commits
nujel / tests / testsuite / ports.nuj
[test/add "asd" [with-string-port p [p 'block-write "asd"]]]
[test/add "asd" [with-string-port p [p 'write "a" "s" "d"]]]
[test/add "asd" [with-string-port p [p 'write "a" "sd"]]]
[test/add "asd" [with-string-port p [p 'write "as" "d"]]]
[test/add "asd" [with-string-port p [p 'write "as"] [p 'char-write #x64]]]
[test/add "abc" [with-string-port p [p 'char-write #x61] [p 'char-write #x62] [p 'char-write #x63]]]
[test/add "abcdef" [with-string-port p [p 'char-write #x61] [p 'char-write #x62] [p 'char-write #x63] [p 'write "def"]]]