public virtual void testRange2() { int min = 54; int max = 1500; NumberRange range = new Int64Range(min, max); for (int i = 0; i < 10000; i++) { long n = range.nextRandom(); Assert.Greater((decimal)n + 1, min); Assert.Less((decimal)n - 1, max); } }
public virtual void testRange2() { int min = 54; int max = 1500; NumberRange range = new Int64Range(min, max); for (int i = 0; i < 10000; i++) { long n = range.nextRandom(); Assert.Greater((decimal)n+1, min); Assert.Less((decimal)n-1, max); } }
public void SetUp() { range = new Int64Range(-50, 50); }
public void SetUp() { range = new Int64Range(- 50, 50); }