]> gitweb.factorcode.org Git - factor.git/commitdiff
specialized-arrays: fix unit tests for bool type change
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Wed, 6 May 2009 15:38:39 +0000 (10:38 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Wed, 6 May 2009 15:38:39 +0000 (10:38 -0500)
basis/specialized-arrays/specialized-arrays-tests.factor

index 73e719b806f5d45beb2bf5a5635c04c81b1eb4a9..f64542fa00bf38706d12ba30750dcfc6f3f219d3 100644 (file)
@@ -2,7 +2,7 @@ IN: specialized-arrays.tests
 USING: tools.test specialized-arrays sequences
 specialized-arrays.int specialized-arrays.bool
 specialized-arrays.ushort alien.c-types accessors kernel
-specialized-arrays.direct.int arrays ;
+specialized-arrays.direct.int specialized-arrays.char arrays ;
 
 [ t ] [ { 1 2 3 } >int-array int-array? ] unit-test
 
@@ -10,7 +10,7 @@ specialized-arrays.direct.int arrays ;
 
 [ 2 ] [ int-array{ 1 2 3 } second ] unit-test
 
-[ t ] [ { t f t } >bool-array underlying>> { 1 0 1 } >int-array underlying>> = ] unit-test
+[ t ] [ { t f t } >bool-array underlying>> { 1 0 1 } >char-array underlying>> = ] unit-test
 
 [ ushort-array{ 1234 } ] [
     little-endian? B{ 210 4 } B{ 4 210 } ? byte-array>ushort-array