Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 1.1.5
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.27 kB
require 'test/unit'
require 'benchmark'
class A < Test::Unit::TestCase
[10_000, 100_000].each do |n|
define_method "test_#{n}" do
puts "test_#{n}"
5.times do
puts Benchmark.measure{n.times{assert_equal true,true}}
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.