public void GenerateReturnsDecimalValuesTest(Type type)
{
var decimalFound = false;
var target = new NumericValueGenerator();
for (var index = 0; index < 1000; index++)
{
var value = target.Generate(type, null, null);
var actual = Convert.ToDouble(value);
if (unchecked(actual != (int) actual))
{
decimalFound = true;
break;
}
}
decimalFound.Should().BeTrue();
}