Sha256: 5496f7cb1d6b5286e35576d9f5ee3b9fdaf135e0fa4a846bcf8e162ca87dd43b
Contents?: true
Size: 600 Bytes
Versions: 6
Compression:
Stored size: 600 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_printers result = RubyProf.profile do run_primes end printer = RubyProf::FlatPrinter.new(result) printer.print(STDOUT) printer = RubyProf::GraphHtmlPrinter.new(result) printer.print printer = RubyProf::GraphPrinter.new(result) printer.print printer = RubyProf::CallTreePrinter.new(result) printer.print(STDOUT) # we should get here assert(true) end end
Version data entries
6 entries across 6 versions & 1 rubygems