← back to backlog: veritas

Richer Assertion Library (Pattern Matching & Floats)

status

done

type

task

descriptionRelying entirely on equal?, eqv?, and eq? handles 90% of cases, but leaves a gap for common testing patterns. The Improvement: Expand assert.scm to include: assert-approx-equal: Crucial for math/algorithm testing where floating-point inaccuracies make equal? fail (e.g., asserting 0.1 + 0.2 is approximately 0.3 within a specific #:epsilon).veritas-366