Any thought on using the standard Python unittest.py module? I'm just learning it, and am interested in your thoughts on it.
Your definitions of the Python classes
class UnitTest:
and
class TestDemo:
is mixing Python code and C++ code into a new Hybrid language that could appropriately be named 'LSD' (Leading to Serious Damage; at least to my brain!). And it does look like code written from either taking LSD or not getting any sleep for days!
Did you run UnitTests on this code??
Rick Falck
I'd strongly prefer to see use of the Python's unittest modules. If you have architectural concerns with them, maybe you could commit your fixes. :)
Looks like this chapter is not done and contains a mix of Python and Java code.
Have you looked at Python's doctest and unittest modules?
http://marc.abramowitz.info/archives/2006/04/13/python-doctest/