test-approximate

[syntax] test-approximate [test-name] expected expr error

SRFI-64: equivalent to (except that each argument is only evaluated once):

(test-assert [test-name]
  (and (>= test-expr (- expected error))
       (<= test-expr (+ expected error))))

See also test-assert.