← back to backlog: veritas

Richer Assertion Library (Pattern Matching & Floats)

veritas-366
statusDonetypeTask
description

Relying 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).

plan (0)

sprint: none
milestone: none

time logged (0)

no time logged yet

discussion (0)

no comments yet

attachments (0)

no attachments yet

activity (0)

nothing recorded yet

versions (0)

no versions yet