summaryrefslogtreecommitdiff
path: root/test/test_prime.rb
Commit message (Expand)AuthorAgeFilesLines
* test/test_prime.rb: add testcases of prime librarymame2018-06-241-0/+81
* prime.rb: remove alias after timeout teststomar2017-05-201-0/+1
* lib/prime: Fix primality of some large integers [#13492].marcandre2017-05-201-7/+8
* test/test_prime.rb: update method name in commentstomar2017-04-221-1/+1
* * lib/prime.rb: Optimize prime?marcandre2016-08-101-10/+7
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* * lib/prime.rb: Add basic argument checking to Prime.prime?marcandre2015-10-201-0/+5
* test: refine assertionsnobu2015-06-251-3/+1
* test_prime.rb: cosmetic changesnobu2015-06-251-2/+2
* test_prime.rb: descriptive assertionsnobu2015-06-141-32/+32
* * lib/prime.rb: Return sized enumerators.marcandre2015-06-121-0/+7
* * lib/prime.rb: Fix with_object with no block givenmarcandre2015-06-121-0/+9
* * lib/prime.rb: Have with_index accept an offset parameter.marcandre2015-06-121-0/+11
* use assert_raisenobu2015-06-021-1/+1
* * lib/prime.rb: Remove obsolete Prime.newmarcandre2015-05-221-14/+8
* * lib/prime.rb (Prime#prime?): negative numbers can't be primesayumin2014-05-081-2/+2
* * lib/prime.rb (Prime::EratosthenesGenerator,yugui2013-07-151-1/+1
* * test/syck/test_string.rb (Syck::TestString#test_non_binary_string):nobu2011-02-131-1/+1
* * test/test_prime.rb (TestPrime#test_new): the warning expected haveyugui2010-09-221-5/+7
* supress warnings.akr2010-01-251-5/+5
* * test/test_prime.rbyugui2009-10-181-0/+26
* * lib/prime.rb (Prime#prime_division): now decomposesyugui2009-07-131-0/+5
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-10/+10
* * lib/prime.rb (Prime::prime?): used to return a wrong answer.yugui2009-03-031-0/+15
* * lib/mathn.rb (Integer): moved into prime.rb.yugui2008-09-031-0/+126