Initial commit
This commit is contained in:
11
test/cxxtest/sample/mock/roll.cpp
Normal file
11
test/cxxtest/sample/mock/roll.cpp
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user