From def83bff91d59fa5fdd1898f903f9000ad1dbe13 Mon Sep 17 00:00:00 2001 From: yugui Date: Mon, 15 Jul 2013 04:21:34 +0000 Subject: * lib/prime.rb (Prime::EratosthenesGenerator, Prime::EratosthenesSieve): New implementation by robertjlooby . * test/test_prime.rb: updated with new method name commit 4b6090ea852d63b26e02796c69b41caa0fa95077 Merge: ceda881 c8f7809 Author: Yuki Sonoda (Yugui) Date: Mon Jul 15 12:50:04 2013 +0900 Merge commit 'c8f780987fbdfbae428977487e1cf793c4c36d3f' Conflicts: lib/prime.rb commit c8f780987fbdfbae428977487e1cf793c4c36d3f Author: robertjlooby Date: Thu Jun 27 23:04:45 2013 -0500 updated test/test_prime.rb with new method name commit 996517bdbb3108cd1687d99613b69e539eb1567b Author: robertjlooby 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 --- test/test_prime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3