note also, that typically a bunch of functionality is implemented in a library. Then the setup would even be little more different.
1) project that builds *my* library
2) test project (console app) that contains the tests, these will include the exported headers from the library, and will link with the library binary
the tutorial is a simplification, in that way that the test code and the tested code all belong to the same (console app) project.