factor/extra/benchmark/regex-dna/regex-dna-tests.factor

12 lines
426 B
Factor
Raw Normal View History

2020-04-12 12:04:50 -04:00
USING: benchmark.regex-dna io.encodings.ascii io.files
io.streams.string kernel sequences tools.test ;
2008-09-22 03:37:48 -04:00
{ t } [
2008-09-22 03:37:48 -04:00
"resource:extra/benchmark/regex-dna/regex-dna-test-in.txt"
[ regex-dna ] with-string-writer
2008-09-22 03:37:48 -04:00
"resource:extra/benchmark/regex-dna/regex-dna-test-out.txt"
! Ensure the line endings don't change on Windows
! when checking out with git.
2020-04-12 12:04:50 -04:00
ascii file-lines [ "\n" append ] map concat =
2008-09-22 03:37:48 -04:00
] unit-test