private GetMinEvaluatesRequestedTypeTest ( |
||
type | ||
typeSupported | bool | |
min | double | |
max | double | |
return | void |
public void GetMinEvaluatesRequestedTypeTest(Type type, bool typeSupported, double min, double max)
{
if (typeSupported == false)
{
return;
}
var target = new RandomGenerator();
var actual = target.GetMin(type);
var converted = Convert.ToDouble(actual);
converted.Should().Be(min);
}