More Unit Tests

For someone who professes to dislike writing unit tests, I seem to be writing a lot of them. In addition to the tests on my Markdown converter, this evening I started building a template engine. The syntax will be similar to Liquid, but of course, it’ll be written in Objective-C.

The scanner now has a host of tests covering everything from blank strings to incorrectly nested expressions. It’s possible I’ve missed some cases, but when the bugs crop up, I’ll write tests to make certain they stay fixed.