]> gitweb.factorcode.org Git - factor.git/blob - basis/opengl/textures/textures-tests.factor
Update documentation for stricter vocabulary search path semantics
[factor.git] / basis / opengl / textures / textures-tests.factor
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
6
7 [
8     {
9         { { 0 0 } { 10 0 } }
10         { { 0 20 } { 10 20 } }
11     }
12 ] [
13     {
14         { { 10 20 } { 30 20 } }
15         { { 10 30 } { 30 300 } }
16     }
17     [ [ image new swap >>dim ] map ] map image-locs
18 ] unit-test