C# Class NFluent.Messages.RangeBlock

Class representing a range of value
显示文件 Open project: tpierrain/NFluent

Public Methods

Method Description
IsInRange ( double value ) : bool
RangeBlock ( double referenceValue, double tolerance ) : System

Constructor

This represents a range of referenceValue +/- tolerance

ToString ( ) : string

Method Details

IsInRange() public method

public IsInRange ( double value ) : bool
value double
return bool

RangeBlock() public method

Constructor
This represents a range of referenceValue +/- tolerance
public RangeBlock ( double referenceValue, double tolerance ) : System
referenceValue double Reference value (mid point)
tolerance double Tolerance
return System

ToString() public method

public ToString ( ) : string
return string