[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Make some local functions public (was: Re: lily-library.scm
From: |
Han-Wen Nienhuys |
Subject: |
Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question) |
Date: |
Wed, 24 Jun 2009 10:25:19 -0300 |
On Wed, Jun 24, 2009 at 4:18 AM, Jan
Nieuwenhuizen<address@hidden> wrote:
>> (eq? (split-at-predicate odd? '(2 3 6 8 9 0))
>> '((2) (6 8) (0)))
>>
>> holds. It would be .ly file that runs Scheme function on a set of
>> inputs, and compares them to a set of outputs to make sure that they
>> match.
>
> I second that, but would advice to have a small google before
> rolling your own again. Eg
>
> http://web.mit.edu/~axch/www/testing.html
>
> If you start adding micro tests, it is nice if you get decent
> reports when something breaks.
GUILE comes with its own testing framework for testing GUILE itself,
but I am not sure if they export the functionality.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), (continued)
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Jay Anderson, 2009/06/23
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Mark Polesky, 2009/06/23
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Mark Polesky, 2009/06/23
- Re: [PATCH] Make some local functions public, Mark Polesky, 2009/06/23
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Han-Wen Nienhuys, 2009/06/23
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Mark Polesky, 2009/06/23
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Han-Wen Nienhuys, 2009/06/24
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Mark Polesky, 2009/06/24
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Carl D. Sorensen, 2009/06/24
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Jan Nieuwenhuizen, 2009/06/24
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question),
Han-Wen Nienhuys <=
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Mark Polesky, 2009/06/24
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Carl D. Sorensen, 2009/06/24
- Re: [PATCH] Make some local functions public (was: Re: lily-library.scm question), Mark Polesky, 2009/06/24