;=====
; demo of check-within (compared to check-expect)
;
; last modified: 2024-09-13

;=====
; fails, because (/ 1 3) is not EXACTLY the same as 0.3333333

(check-expect (/ 1 3)
              0.3333333)

;=====
; passes, because (/ 1 3) is within 0.01 of 0.3333333

(check-within (/ 1 3)
              0.3333333
              0.01)

;=====
; fails, because (/ 1 3) is NOT within 0.00000001 of 0.3333333

(check-within (/ 1 3)
              0.3333333
              0.00000001)