public void VerifyMaxGetDouble() { var maxValue = 55.5; var number = RandomExtensions.GetDouble(maxValue); number.Should().BeOfType(typeof(double)); number.Should().BeLessThan(maxValue); }
public void VerifyMinMaxGetDouble() { var minValue = 1.25; var maxValue = 111.75; var number = RandomExtensions.GetDouble(minValue, maxValue); number.Should().BeOfType(typeof(double)); number.Should().BeGreaterThan(minValue); number.Should().BeLessThan(maxValue); }
public void VerifyGetDouble() { var number = RandomExtensions.GetDouble(); number.Should().BeOfType(typeof(double)); }