Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
TestRandom.cpp - Test program for random number class
|
||||
|
||||
#include "Random.h"
|
||||
#include <iostream.h>
|
||||
|
||||
// Test program
|
||||
int main( )
|
||||
{
|
||||
Random r( 1 );
|
||||
|
||||
for( int i = 0; i < 20; i++ )
|
||||
cout << r.randomInt( ) << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user