Sha256: 44f3ab433dba342be01b9382ad400aeb07c0d9b86a623e4d3aa6046813eca249

Contents?: true

Size: 222 Bytes

Versions: 33

Compression:

Stored size: 222 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'
require 'ruby-prof'
require 'prime'

# --  Tests ----
class PrimeTest< Test::Unit::TestCase
  def test_consistency
    result = RubyProf.profile do
      run_primes
    end
  end
end

Version data entries

33 entries across 33 versions & 6 rubygems

Version Path
adamh-ruby-prof-0.7.3 test/prime_test.rb
skaes-ruby-prof-0.7.3 test/prime_test.rb
ruby-prof-0.10.8 test/prime_test.rb
ruby-prof-0.10.7 test/prime_test.rb
ruby-prof-0.10.6 test/prime_test.rb
ruby-prof-0.10.5 test/prime_test.rb
ruby-prof-0.10.4 test/prime_test.rb
ruby-prof-0.10.2 test/prime_test.rb
acunote-ruby-prof-0.9.2 test/prime_test.rb
ruby-prof-0.9.2 test/prime_test.rb
ruby-prof-0.9.1 test/prime_test.rb
ruby-prof-0.9.0 test/prime_test.rb
ruby-prof-danielhoey-0.8.1 test/prime_test.rb
ruby-prof-0.8.2 test/prime_test.rb
ruby-prof-0.8.1-x86-mingw32 test/prime_test.rb
ruby-prof-0.8.1-x86-mswin32 test/prime_test.rb
ruby-prof-0.8.1 test/prime_test.rb
ruby-prof-0.7.10 test/prime_test.rb
ruby-prof-0.7.9 test/prime_test.rb
ruby-prof-0.7.8 test/prime_test.rb