This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
validation_for_fit(msg, threshold)
public
Returns a proc that calls the specified fit method and asserts that the
error is within a tolerable threshold.
# File lib/minitest/benchmark.rb, line 340
def validation_for_fit msg, threshold
proc do |range, times|
a, b, rr = send "fit_#{msg}", range, times
assert_operator rr, :>=, threshold
[a, b, rr]
end
end