lilypond-devel
[Top][All Lists]
Advanced

[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




reply via email to

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