Skip to content

Commit

Permalink
[minitest] remove bench_range
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ Christensen committed Aug 17, 2012
1 parent e1b2500 commit 96c3420
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/sieve/primes_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
require 'sieve/primes'

class TestPrimes < MiniTest::Unit::TestCase
def self.bench_range
[1_000, 10_000, 100_000, 1_000_000]
end

def bench_sieve_primes
assert_performance_linear 0.9977 do |n|
Sieve::Primes.new.take(n)[4,-1]
Expand Down

0 comments on commit 96c3420

Please sign in to comment.