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