public void GetInt16_MaxIsTruncated_Exclusive() { TestRandom rand = new TestRandom(); rand.IntQueue.Enqueue(10); Assert.AreEqual(9, rand.GetInt16(5, 10)); }
public void GetInt16_MinIsTruncated_Inclusive() { TestRandom rand = new TestRandom(); rand.IntQueue.Enqueue(5); Assert.AreEqual(6, rand.GetInt16(6, 10)); }
public void GetInt16(int target) { TestRandom rand = new TestRandom(); rand.IntQueue.Enqueue(target); Assert.AreEqual(target, rand.GetInt16()); }