dup (gen-image) <image> swap >>bitmap swap >>dim
RGB >>component-order ubyte-components >>component-type ;
-{ } [ { 50 50 } gen-image "s" set ] unit-test
-{ } [ "s" get <image-gadget> "ig" set ] unit-test
+[ ] [ { 50 50 } gen-image "s" set ] unit-test
+[ ] [ "s" get <image-gadget> "ig" set ] unit-test
"ig" get [
[ t ] [ "ig" get image-gadget-texture single-texture? ] unit-test
] with-grafted-gadget
-{ } [ "s" get <model> "m" set ] unit-test
-{ } [ { 150 150 } gen-image "s1" set ] unit-test
-{ } [ "m" get <image-control> "ic" set ] unit-test
+[ ] [ "s" get <model> "m" set ] unit-test
+[ ] [ { 150 150 } gen-image "s1" set ] unit-test
+[ ] [ "m" get <image-control> "ic" set ] unit-test
"ic" get [
[ t ] [ "ic" get image-gadget-texture single-texture? ] unit-test
[ { 50 50 } ] [ "ic" get texture>> texture-size ] unit-test