method

bench_range

ruby latest stable - Class: MiniTest::Spec

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

bench_range(&block)
public

Specifies the ranges used for benchmarking for that class.

bench_range do
  bench_exp(2, 16, 2)
end

See Unit::TestCase.bench_range for more details.