Class NumericTestResultBase<T>
Result of test
Inheritance
NumericTestResultBase<T>
Inherited Members
Namespace: PayrollEngine.Client.Test
Assembly: PayrollEngine.Client.Test.dll
Syntax
public abstract class NumericTestResultBase<T> : TestResultBase<T> where T : IAttributeObject, INumericValueResult
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
NumericTestResultBase(TestPrecision, T, T)
Initializes a new instance of the TestResultBase<T> class
Declaration
protected NumericTestResultBase(TestPrecision testPrecision, T expectedResult, T actualResult = default)
Parameters
| Type | Name | Description |
|---|---|---|
| TestPrecision | testPrecision | The testing precision |
| T | expectedResult | The expected result |
| T | actualResult | The actual result |
Properties
TestPrecision
The testing precision
Declaration
public TestPrecision TestPrecision { get; }
Property Value
| Type | Description |
|---|---|
| TestPrecision |
Methods
ValidValue()
Get for valid value
Declaration
public override bool ValidValue()
Returns
| Type | Description |
|---|---|
| bool |