Unit Testing for Fun and Profit | Haiku Project

I noticed the other day that I had a comment below my previous blog post, I didn't have time to reply that day, the next day I was in bed sick, but TODAY, I can reply! In the comment, AndrewZ asked if I could post some of my unit testing code, and I thought that would make for an interesting blog post, and here one is.

This is a companion discussion topic for the original entry at https://www.haiku-os.org/blog/yourpalal/2010-06-18_unit_testing_fun_and_profit/