Op woensdag 24-06-2009 om 02:08 uur [tijdzone -0300], schreef Han-Wen
Nienhuys:

> I mean to have an automated set of tests, that checks for example that
> 
> 
> (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.

Jan.

-- 
Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl    | http://lilypond.org



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to