struct

Spec::AlmostEqualExpectation(T)

Inherits Struct / Value / Object

Similar to EqualExpectation(T), but calls Matrix#almost_eq Useful in Matrix specs where exact equality isn't possible

Constructors

new(expected_value : T)
Source

Instance methods

failure_message(actual_value)
Source
match(actual_value)
Source
negative_failure_message(actual_value)
Source