Sha256: 16613b3c43f04847308f60a81c13326ea9fdeae8c0296666cbfc97c9eee0fd6d
Contents?: true
Size: 489 Bytes
Versions: 8
Compression:
Stored size: 489 Bytes
Contents
#!/usr/bin/env ruby # encoding: UTF-8 require File.expand_path('../test_helper', __FILE__) class ProfileTest < TestCase def test_measure_mode profile = RubyProf::Profile.new(:measure_mode => RubyProf::PROCESS_TIME) assert_equal(RubyProf::PROCESS_TIME, profile.measure_mode) end def test_measure_mode_string profile = RubyProf::Profile.new(:measure_mode => RubyProf::PROCESS_TIME) assert_equal("process_time", profile.measure_mode_string) end end
Version data entries
8 entries across 8 versions & 1 rubygems