C# Class Habanero.Testability.ValidValueGeneratorDouble

Inheritance: ValidValueGenerator, IValidValueGeneratorNumeric
Show file Open project: Chillisoft/habanero.testability Class Usage Examples

Public Methods

Method Description
GenerateValidValue ( ) : object
GenerateValidValueGreaterThan ( object minValue ) : object
GenerateValidValueLessThan ( object maxValue ) : object
ValidValueGeneratorDouble ( IPropDef propDef ) : Habanero.Base

Private Methods

Method Description
GenerateValidValue ( double overridingMinValue, double overridingMaxValue ) : double
GetMaxValue ( IPropRuleComparable propRule, double overridingMaxValue ) : double
GetMinValue ( IPropRuleComparable propRule, double overridingMinValue ) : double

Method Details

GenerateValidValue() public method

public GenerateValidValue ( ) : object
return object

GenerateValidValueGreaterThan() public method

public GenerateValidValueGreaterThan ( object minValue ) : object
minValue object
return object

GenerateValidValueLessThan() public method

public GenerateValidValueLessThan ( object maxValue ) : object
maxValue object
return object

ValidValueGeneratorDouble() public method

public ValidValueGeneratorDouble ( IPropDef propDef ) : Habanero.Base
propDef IPropDef
return Habanero.Base