Description

InDelta asserts that the two numerals are within delta of each other.

assert.InDelta(t, math.Pi, (22 / 7.0), 0.01)

Returns whether the assertion was successful (true) or not (false).

InDelta is referenced in 46 repositories

github.com/stretchr/testify github.com/devork/geom github.com/eric-burel/rgo

...