repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git]
/
core
/
io
/
streams
/
c
/
c-tests.factor
blob
3dde9152d08eeb55624c951673debdc475e1c79d
1
USING: tools.test io.files io.files.temp io io.streams.c
2
io.encodings.ascii strings ;
3
IN: io.streams.c.tests
4
5
[ "hello world" ] [
6
"hello world" "test.txt" temp-file ascii set-file-contents
7
8
"test.txt" temp-file "rb" fopen <c-reader> contents
9
>string
10
] unit-test