OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Tests.Common.DoubleToleranceConstraint Class Reference
Inheritance diagram for OpenSim.Tests.Common.DoubleToleranceConstraint:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Tests.Common.DoubleToleranceConstraint:
Collaboration graph
[legend]

Public Member Functions

 DoubleToleranceConstraint (double baseValue, double tolerance)
 
override bool Matches (object valueToBeTested)
 
override void WriteDescriptionTo (MessageWriter writer)
 
override void WriteActualValueTo (MessageWriter writer)
 
- Public Member Functions inherited from OpenSim.Tests.Common.ANumericalToleranceConstraint
 ANumericalToleranceConstraint (double tolerance)
 

Additional Inherited Members

- Protected Member Functions inherited from OpenSim.Tests.Common.ANumericalToleranceConstraint
bool IsWithinDoubleConstraint (double doubleValue, double baseValue)
 
- Protected Attributes inherited from OpenSim.Tests.Common.ANumericalToleranceConstraint
double _tolerance
 

Detailed Description

Definition at line 34 of file DoubleToleranceConstraint.cs.

Constructor & Destructor Documentation

OpenSim.Tests.Common.DoubleToleranceConstraint.DoubleToleranceConstraint ( double  baseValue,
double  tolerance 
)
inline

summary> Test whether the constraint is satisfied by a given value /summary> param name="valueToBeTested">The value to be tested

returns> True for success, false for failure /returns>

Definition at line 39 of file DoubleToleranceConstraint.cs.

Member Function Documentation

override bool OpenSim.Tests.Common.DoubleToleranceConstraint.Matches ( object  valueToBeTested)
inline

Definition at line 51 of file DoubleToleranceConstraint.cs.

override void OpenSim.Tests.Common.DoubleToleranceConstraint.WriteActualValueTo ( MessageWriter  writer)
inline

Definition at line 72 of file DoubleToleranceConstraint.cs.

override void OpenSim.Tests.Common.DoubleToleranceConstraint.WriteDescriptionTo ( MessageWriter  writer)
inline

Definition at line 67 of file DoubleToleranceConstraint.cs.


The documentation for this class was generated from the following file: