Summary
Sets the tolerance used by default when checking the equality of floating point values
within the test assembly, fixture or method.
- Namespace
- TCLite
- Interfaces
- Base Types
-
- object
- Attribute
- TCLiteAttribute
graph BT
Type-->Base0["TCLiteAttribute"]
click Base0 "/tc-lite/api/TCLite/TCLiteAttribute"
Base0-->Base1["Attribute"]
Base1-->Base2["object"]
Type-.->Interface0["IApplyToContext"]
click Interface0 "/tc-lite/api/TCLite.Interfaces/IApplyToContext"
Type["DefaultToleranceAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class DefaultToleranceAttribute : TCLiteAttribute, IApplyToContext
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
Default |
Construct specifying an amount |
Methods
Name | Value | Summary |
---|---|---|
ApplyToContext |
void |
Apply changes to the TestExecutionContext
|