1 ! Copyright (C) 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: tools.test opengl.textures opengl.textures.private
4 images kernel namespaces accessors sequences ;
5 IN: opengl.textures.tests
10 { { 0 20 } { 10 20 } }
14 { { 10 20 } { 30 20 } }
15 { { 10 30 } { 30 300 } }
17 [ [ image new swap >>dim ] map ] map image-locs