On Wed, Jun 24, 2009 at 4:18 AM, Jan Nieuwenhuizen<[email protected]> 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 - [email protected] - http://www.xs4all.nl/~hanwen _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
