diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 04:21:34 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 04:21:34 +0000 |
commit | def83bff91d59fa5fdd1898f903f9000ad1dbe13 (patch) | |
tree | 8479efc5a3c459e7b10de23660e56517ee691eab /test/test_prime.rb | |
parent | ceda88160167a1f21e668b531ece621eaf2a4951 (diff) | |
download | ruby-def83bff91d59fa5fdd1898f903f9000ad1dbe13.tar.gz |
* lib/prime.rb (Prime::EratosthenesGenerator,
Prime::EratosthenesSieve): New implementation by
robertjlooby <robertjlooby AT gmail.com>.
* test/test_prime.rb: updated with new method name
commit 4b6090ea852d63b26e02796c69b41caa0fa95077
Merge: ceda881 c8f7809
Author: Yuki Sonoda (Yugui) <yugui@yugui.jp>
Date: Mon Jul 15 12:50:04 2013 +0900
Merge commit 'c8f780987fbdfbae428977487e1cf793c4c36d3f'
Conflicts:
lib/prime.rb
commit c8f780987fbdfbae428977487e1cf793c4c36d3f
Author: robertjlooby <robertjlooby@gmail.com>
Date: Thu Jun 27 23:04:45 2013 -0500
updated test/test_prime.rb with new method name
commit 996517bdbb3108cd1687d99613b69e539eb1567b
Author: robertjlooby <robertjlooby@gmail.com>
Date: Thu Jun 27 22:59:39 2013 -0500
new implementation of Prime::EratosthenesGenerator and Prime::EratosthenesSieve
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_prime.rb')
-rw-r--r-- | test/test_prime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_prime.rb b/test/test_prime.rb index 4e4fa37509..e89952948c 100644 --- a/test/test_prime.rb +++ b/test/test_prime.rb @@ -154,7 +154,7 @@ class TestPrime < Test::Unit::TestCase # simulates that Timeout.timeout interrupts Prime::EratosthenesSieve#extend_table def sieve.Integer(n) n = super(n) - sleep 10 if /extend_table/ =~ caller.first + sleep 10 if /compute_primes/ =~ caller.first return n end |