Possible Duplicates:
Suggestion for UnitTest tools for C++
Choosing a C++ unit testing tool/framework
Unit Testing C Code
This is something I've been wondering now that we have to use C/C++ as base language for some of our university projects :
In Java there's JUnit,
In PHP there's PHPUnit
etc.
How are unit testing done in C/C++? This is probably a silly question, but I don't think I ever read exactly how applications (source code) are unit tested--if there's even such a thing in C/C++--other than "check if the code compiles".