tests/Random_tests.cpp
// Note that this does not succeed in Release mode, because the 
// seed generates a different set of numbers.
Note that this does not succeed in Release mode, because the
seed generates a different set of numbers.
Note that this does not succeed in Release mode because the seed generates a different set of numbers .
TEST_METHOD(Random_getInteger)
		{
			Random rand(5);
			Assert::AreEqual(79, rand.getInteger(0, 100));
			Assert::AreEqual(11, rand.getInteger(0, 100));
		}
TEST_METHOD ( Random_getInteger ) { Random rand ( 5 ) ; Assert :: AreEqual ( 79 , rand . getInteger ( 0 , 100 ) ) ; Assert :: AreEqual ( 11 , rand . getInteger ( 0 , 100 ) ) ; }
Note that this does not succeed in Release mode, because the
seed generates a different set of numbers.
Note that this does not succeed in Release mode because the seed generates a different set of numbers .