public void NextDiscreteTest4()
{
const float min = 25.0f;
const float max = 50.0f;
for (int attempt = 1; attempt <= 100; attempt++)
{
float randomValue = GameRandom.NextDiscrete(min, max, 3);
Assert.IsTrue(
Math.Abs(randomValue - min) < 0.001 ||
Math.Abs(randomValue - max) < 0.001 ||
Math.Abs(randomValue - (min + max)/2) < 0.001);
}
}