diff options
Diffstat (limited to 'cxxtest/sample/mock/roll.cpp')
| -rw-r--r-- | cxxtest/sample/mock/roll.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cxxtest/sample/mock/roll.cpp b/cxxtest/sample/mock/roll.cpp new file mode 100644 index 000000000..20ea967af --- /dev/null +++ b/cxxtest/sample/mock/roll.cpp @@ -0,0 +1,11 @@ +#include <stdio.h> +#include "Dice.h" + +int main() +{ + Dice dice; + printf( "First roll: %u\n", dice.roll() ); + printf( "Second roll: %u\n", dice.roll() ); + + return 0; +} |
