public void TestUpdateDouble()
        {
            double value = RandomDouble.UpdateDouble(0, 5);

            Assert.True(value <= 5 && value >= -5);
            Assert.True(value == DoubleConverter.ToDouble(value));
        }
        public void TestNextDouble()
        {
            double value = RandomDouble.NextDouble(5);

            Assert.True(value < 5);
            Assert.True(value == DoubleConverter.ToDouble(value));

            value = RandomDouble.NextDouble(2, 5);
            Assert.True(value < 5 && value > 2);
            Assert.True(value == DoubleConverter.ToDouble(value));
        }