]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/sequences/complex/complex-tests.factor
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
[factor.git] / basis / sequences / complex / complex-tests.factor
index 3f421bac10017bbee6019ef71cbc4e30b0f7e494..dae3ccc9a6608eb257042ea964765d88e2a03c14 100644 (file)
@@ -9,19 +9,19 @@ IN: sequences.complex.tests
 : odd-length-test-array ( -- x )
     float-array{ 1.0 2.0 3.0 4.0 5.0 } clone <complex-sequence> ;
 
-[ 2 ] [ test-array length ] unit-test
-[ 2 ] [ odd-length-test-array length ] unit-test
+{ 2 } [ test-array length ] unit-test
+{ 2 } [ odd-length-test-array length ] unit-test
 
-[ C{ 1.0 2.0 } ] [ test-array first ] unit-test
-[ C{ 3.0 4.0 } ] [ test-array second ] unit-test
+{ C{ 1.0 2.0 } } [ test-array first ] unit-test
+{ C{ 3.0 4.0 } } [ test-array second ] unit-test
 
-[ { C{ 1.0 2.0 } C{ 3.0 4.0 } } ]
+{ { C{ 1.0 2.0 } C{ 3.0 4.0 } } }
 [ test-array >array ] unit-test
 
-[ float-array{ 1.0 2.0 5.0 6.0 } ]
+{ float-array{ 1.0 2.0 5.0 6.0 } }
 [ test-array [ C{ 5.0 6.0 } 1 rot set-nth ] [ seq>> ] bi ]
 unit-test
 
-[ float-array{ 7.0 0.0 3.0 4.0 } ]
+{ float-array{ 7.0 0.0 3.0 4.0 } }
 [ test-array [ 7.0 0 rot set-nth ] [ seq>> ] bi ]
 unit-test