method

validation_for_fit

ruby latest stable - Class: MiniTest::Unit::TestCase

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.

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.