1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/benchmark/test_benchmark.rb

11 lines
200 B
Ruby
Raw Normal View History

require "test/unit"
require "benchmark"
class TestBenchmark < Test::Unit::TestCase
def test_add!
assert_nothing_raised("[ruby-dev:40906]") do
Benchmark::Tms.new.add! {}
end
end
end