chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Using epsilon in test egg


From: John Cowan
Subject: Re: [Chicken-users] Using epsilon in test egg
Date: Mon, 28 Jul 2014 09:09:56 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Alex Shinn scripsit:

> If people think it's useful I'd consider walking pairs and vectors.

They are the most important cases, because the expected value is
expressed as a literal value, and that can only be a list or vector.  If
you are using `test-assert`, you can specify your own function directly.

> Regardless, I'll add a utility to make defining tests with your own
> comparator easier, and explicitly export test-approx-equal? so you
> don't have to capture the initial test comparator.

+1

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
La mayyitan ma qadirun yatabaqqa sarmadi
Fa idha yaji' al-shudhdhadh fa-l-maut qad yantahi.
                --Abdullah al-Hazred, Al-`Azif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]