extra.images: call register-image-class before testing, otherwise the wrong backend might be ran

db4
Björn Lindqvist 2014-03-09 13:09:17 +01:00 committed by John Benediktsson
parent 13dc01dbc4
commit cf40218d13
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,8 @@
USING: images.bitmap images.testing kernel ;
USING: images.bitmap images.loader images.testing kernel ;
IN: images.bitmap.tests
"bmp" bmp-image register-image-class
! "vocab:images/testing/bmp/1bit.bmp" decode-test
! "vocab:images/testing/bmp/rgb_4bit.bmp" decode-test

View File

@ -1,8 +1,10 @@
! Copyright (C) 2009 Doug Coleman, Keith Lazuka
! See http://factorcode.org/license.txt for BSD license.
USING: images.testing io.directories ;
USING: images.loader images.png images.testing io.directories ;
IN: images.png.tests
"png" png-image register-image-class
! Test files from PngSuite (http://www.libpng.org/pub/png/pngsuite.html)
! The subset of the suite that should work given the current implementation.