Sha256: 59ea992d13100771c188c88b23b922038c150e19958105084e46e5f16729226b
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 Bytes
Contents
#!/usr/bin/env ruby require 'test/unit' require 'ruby-prof' require 'prime' require 'test_helper' # -- Tests ---- class PrintersTest < Test::Unit::TestCase def test_printer result = RubyProf.profile do run_primes end printer = RubyProf::FlatPrinter.new(result) printer.print(STDOUT) printer = RubyProf::GraphHtmlPrinter.new(result) printer.print(STDOUT) printer = RubyProf::GraphPrinter.new(result) printer.print(STDOUT) # we should get here assert(true) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-prof-0.4.1-mswin32 | test/printers_test.rb |
ruby-prof-0.4.1 | test/printers_test.rb |