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

http://github.com/abeaumont/factor · Factor · 12 lines · 9 code · 2 blank · 1 comment · 0 complexity · d8eb8c0c83439078e7b1845b5f593e10 MD5 · raw file

  1. ! (c)2009 Joe Groff bsd license
  2. USING: multiline gpu.shaders gpu.shaders.private tools.test ;
  3. IN: gpu.shaders.tests
  4. [ """ERROR: foo.factor:20: Bad command or filename
  5. INFO: foo.factor:30: The operation completed successfully
  6. NOT:A:LOG:LINE""" ]
  7. [ T{ shader { filename "foo.factor" } { line 19 } }
  8. """ERROR: 0:1: Bad command or filename
  9. INFO: 0:11: The operation completed successfully
  10. NOT:A:LOG:LINE""" replace-log-line-numbers ] unit-test