]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tools/gc-decode/gc-decode-tests.factor
use reject instead of [ ... not ] filter.
[factor.git] / extra / tools / gc-decode / gc-decode-tests.factor
index cb3a3df5f18d0a18e02b212fb76056367315a643..556c8b277af020838d58baab2da7ba11d099d3c9 100644 (file)
@@ -24,14 +24,6 @@ IN: tools.gc-decode.tests
 { ?{ t t t t t t t t } } [ B{ 255 } byte-array>bit-array ] unit-test
 
 ! scrub-bits
-{ t } [
-    \ effects:<effect> word>gc-info scrub-bits
-    {
-        ?{ t t t f t t t t } ! 64-bit
-        ?{ t t t t f f f f f t t t t } ! 32-bit TODO
-    } member?
-] unit-test
-
 {
     { }
 } [
@@ -80,7 +72,7 @@ IN: tools.gc-decode.tests
 
 { { } } [
     all-words [ normal? ] filter 50 sample
-    [ [ word>gc-info-expected ] [ word>gc-info ] bi same-gc-info? not ] filter
+    [ [ word>gc-info-expected ] [ word>gc-info ] bi same-gc-info? ] reject
 ] unit-test
 
 : base-pointer-groups-expected ( word -- seq )