]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/ole32/ole32-tests.factor
windows.ole32: add create-guid
[factor.git] / basis / windows / ole32 / ole32-tests.factor
index 2e25f80a53f0d0a8bd418ea3e0787e9942998e2b..a4645a30ce954dca2a6bead5a8c28fac7a17f1ef 100644 (file)
@@ -1,6 +1,7 @@
-USING: kernel tools.test windows.ole32 alien.c-types
-classes.struct specialized-arrays windows.kernel32
-windows.com.syntax ;
+USING: alien.c-types classes.struct kernel math sequences
+specialized-arrays
+specialized-arrays.instances.alien.c-types.uchar tools.test
+windows.com.syntax windows.kernel32 windows.ole32 ;
 SPECIALIZED-ARRAY: uchar
 IN: windows.ole32.tests
 
@@ -29,3 +30,5 @@ IN: windows.ole32.tests
 [ "{01234567-89ab-cdef-0123-456789abcdef}" ]
 [ "{01234567-89ab-cdef-0123-456789abcdef}" string>guid guid>string ]
 unit-test
+
+{ 0 } [ 10 [ create-guid ] replicate duplicates length ] unit-test