Commit graph

4 commits

Author SHA1 Message Date
Meredith L. Patterson
f685f9ea4e there's the uint8_t problem (mostly) sorted 2013-11-23 13:33:24 -06:00
Meredith L. Patterson
073d6d8a27 python tests baked into scons; h_ch needs the first char of its input string as its input 2013-11-23 13:33:24 -06:00
Meredith L. Patterson
75453d8b2f Finished writing unit tests. Fixed a few small bugs in hammer.py. Further issues:
* "in_" and "not_in" should coerce their results to strings (i.e., chr(result))
 * TestLeftrec: success case 2 fails
 * TestChRange: success case segfaults
 * TestWhitespaceEnd: success case segfaults
 * TestAction: success case segfaults with "corrupted double-linked list"
 * TestButNotRange: segfaults, probably because of whatever's wrong with ch_range
 * TestXor: segfaults; failure case craps out with "malloc(): smallbin double linked list corrupted"
2013-11-23 13:33:23 -06:00
Dan Hirsch
1841c9d77e Added a few tests 2013-11-23 13:33:23 -06:00