struct

Mica::Testing::Complexity::Result

Inherits Struct < Value < Object

The operation counts at both sizes.

Constructors

new(name : String, size : Int32, factor : Int32, small : Int64, large : Int64, slack : Float64)
Source

Instance methods

bound

Returns the largest ratio accepted as linear.

Source
clone
Source
copy_with(name _name = @name, size _size = @size, factor _factor = @factor, small _small = @small, large _large = @large, slack _slack = @slack)
Source
factor
large
linear?

Returns true when the growth is within the linear bound.

Source
name
ratio

Returns large / small.

Source
size
slack
small
to_s(io : IO) : Nil

Same as #inspect(io).

Source