factor/extra/gpu/shaders/shaders-tests.factor

19 lines
589 B
Factor
Raw Normal View History

! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
2018-01-27 21:43:01 -05:00
USING: gpu.shaders gpu.shaders.private io.pathnames tools.test ;
2009-07-19 15:31:10 -04:00
IN: gpu.shaders.tests
{ "ERROR: foo.factor:20: Bad command or filename
2009-07-19 15:31:10 -04:00
INFO: foo.factor:30: The operation completed successfully
NOT:A:LOG:LINE" }
2009-07-19 15:31:10 -04:00
[ T{ shader { filename "foo.factor" } { line 19 } }
"ERROR: 0:1: Bad command or filename
2009-07-19 15:31:10 -04:00
INFO: 0:11: The operation completed successfully
NOT:A:LOG:LINE" replace-log-line-numbers ] unit-test
2018-01-27 21:43:01 -05:00
SYMBOL: a-test-symbol
{ "shaders" } [
a-test-symbol word-directory file-name
] unit-test