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_getInteger2)
		{
			Random rand(500);
			Assert::AreEqual(74, rand.getInteger(0, 100));
			Assert::AreEqual(44, rand.getInteger(0, 100));
		}
TEST_METHOD ( Random_getInteger2 ) { Random rand ( 500 ) ; Assert :: AreEqual ( 74 , rand . getInteger ( 0 , 100 ) ) ; Assert :: AreEqual ( 44 , 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 .