Unittest I
Unit testing an important part of overall testing-
centric development strategy.
Unit testing is not a replacement for higher-level
functional or system testing:
Before writing code, it forces to detail requirements
While writing code, keeps from over-coding.
When all the test cases pass, the function is complete.
When refactoring code, assures new version behaves
the same way as the old version.
When maintaining code, helps latest changes not to
break other old code.