Skip to main content

default_abs_tolerance

Default absolute tolerance used by non-strict numeric equality matchers.

to_equal uses this tolerance when no test-level or expectation-level abs_tolerance option is provided.

Example


test "default tolerance" {
expect(default_abs_tolerance).to_be_greater_than(0)
}