Commit graph

5 commits

Author SHA1 Message Date
Meredith L. Patterson
f3ce2fc7de h_sequence, h_choice and HCountedSequence are all having weird issues, but tests are in a workable format now 2013-11-19 00:18:25 -06:00
Meredith L. Patterson
d1b71779e1 there's the uint8_t problem (mostly) sorted 2013-11-18 21:50:28 -06:00
Meredith L. Patterson
e8b2c17026 python tests baked into scons; h_ch needs the first char of its input string as its input 2013-11-18 21:14:44 -06:00
Meredith L. Patterson
c9c282dcb4 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-14 15:50:58 +01:00
Dan Hirsch
06aa19e206 Added a few tests 2013-11-12 19:07:32 -06:00