Unit testing is an old concept that has been around long before computers came to life. You test what you make to ensure its quality. I have been putting off serious unit testing in this project for a while now. But lately I decided it was time to start writing complete unit tests to ensure quality of the project.
One of the last drops was a recent performance bug, that I have not nailed, so unit tests are coming to aid.
I started from simple components: math and XML tools. Next turn will be graphics and physics components.
I am using a very simple and handy QuickTest written by Tyler Streeter. Many thanks goes to him.