]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/math/primes/erato/erato-tests.factor
factor: use new math.ranges syntax in tests and docs
[factor.git] / basis / math / primes / erato / erato-tests.factor
index 96a2cfdb20da961f5132234efa13e168042cee0c..c68b35b655d6e14977b7ed88674813c5b93f4847 100644 (file)
@@ -13,7 +13,7 @@ math.ranges sequences tools.test ;
 ! Check sieve array length logic by making sure we get the right
 ! end-point for numbers with all possibilities mod 30. If something
 ! were to go wrong, we'd get a bounds-error.
-{ } [ 2 100 [a,b] [ dup sieve marked-prime? drop ] each ] unit-test
+{ } [ 2 100 [a..b] [ dup sieve marked-prime? drop ] each ] unit-test
 
 { t } [
     { 2 3 5 7 11 13 } 100 sieve '[ _ marked-prime? ] all?