class Minitest::Reporters::MeanTimeReporter
def rate(run, min, max)
-
(Symbol)
- One of :faster, :slower or :inconclusive.
Parameters:
-
max
(Float
) -- The maximum run time. -
min
(Float
) -- The minimum run time. -
run
(Float
) -- The last run time.
def rate(run, min, max) if run == min :faster elsif run == max :slower else :inconclusive end end