[Subversion] / Trellis / test_trellis.py  

View of /Trellis/test_trellis.py

Parent Directory | Revision Log
Revision: 2335 - (download) (as text)
Sun Jul 8 05:42:14 2007 UTC (16 years, 10 months ago) by pje
File size: 185 byte(s)
Rip out the old Trellis implementation and replace with a shiny new algorithm.
This is nowhere near adequately tested, and Constant conversion doesn't work.
The doctests are in horrible shape and don't describe the current algorithm at
all.  The fancy API described in my mailing list posts is nowhere to be found,
and none of the new functionality is tested in the slightest.  Experiment at
your own risk; this is just a placeholder/proof-of-concept test to see if the
new algorithm at least passes the old tests (except for Constant conversion.)
And it does.  :)  So, everything from here on out should effectively be
either documentation, tests, syntax sugar, or convenience/reference
implementations of higher-level features.
def additional_tests():
    import doctest
    return doctest.DocFileSuite(
        'README.txt', 'Tasks.txt',
        optionflags=doctest.ELLIPSIS|doctest.NORMALIZE_WHITESPACE,
    )


cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help