Updated Getting the source code (markdown)

philsquared
2011-01-28 10:45:58 -08:00
parent 47df853a54
commit 868bf8d45d

@@ -17,7 +17,7 @@ The rest of this tutorial will assume that the CATCH root folder is available un
Let's start with a really simple example. Say you have written a function to calculate factorials and now you want to test it. To keep things simple we'll put everything in a single file. Let's start with a really simple example. Say you have written a function to calculate factorials and now you want to test it. To keep things simple we'll put everything in a single file.
```c++ ```c++
#include "catch_default_main.hpp" // This brings in a default implementation for main() #include "catch_with_main.hpp" // This brings in a default implementation for main()
unsigned int Factorial( unsigned int number ) unsigned int Factorial( unsigned int number )
{ {