public void TestRandomInt() { int random = RandomNumbersTool.RandomInt(); Assert.IsTrue(random == 0 || random == 1); }
public void TestRandomInt_int_int() { int random = RandomNumbersTool.RandomInt(0, 5); Assert.IsTrue(random == 0 || random == 1 || random == 2 || random == 3 || random == 4 || random == 5); }