public void RandomStrideClassTest() { const int Min = 0; const int Max = 253; RandomStride randomStride = new RandomStride(Min, Max); const int Count = 1024; for (int i = 0; i < Count; i++) { int skip = randomStride.StrideSize; Assert.IsTrue(skip <= Max); Assert.IsTrue(skip >= Min); } }
public void RandomStrideClassBadMinMaxTest() { RandomStride randomStride = new RandomStride(253, 0); }