]> gitweb.factorcode.org Git - factor.git/blob - extra/math/primes/factors/factors-tests.factor
Merge branch 'master' into experimental (untested!)
[factor.git] / extra / math / primes / factors / factors-tests.factor
1 USING: math.primes.factors tools.test ;
2
3 { { 999983 999983 1000003 } } [ 999969000187000867 factors ] unit-test
4 { { { 999983 2 } { 1000003 1 } } } [ 999969000187000867 group-factors ] unit-test
5 { { 999983 1000003 } } [ 999969000187000867 unique-factors ] unit-test
6 { 999967000236000612 } [ 999969000187000867 totient ] unit-test