method
bench_linear
v2_1_10 -
Show latest stable
- Class:
MiniTest::Unit::TestCase
bench_linear(min, max, step = 10)public
Returns a set of ranges stepped linearly from min to max by step. Eg:
bench_linear(20, 40, 10) # => [20, 30, 40]