Show / Hide Table of Contents

Class NumericTestResultBase<T>

Result of test

Inheritance
object
TestResultBase<T>
NumericTestResultBase<T>
CollectorTestCustomResult
CollectorTestResult
WageTypeTestCustomResult
WageTypeTestResult
Inherited Members
TestResultBase<T>.Failed()
TestResultBase<T>.ValidCulture()
TestResultBase<T>.ValidAttributes()
TestResultBase<T>.FirstInvalidAttribute()
TestResultBase<T>.ExpectedResult
TestResultBase<T>.ActualResult
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
Overrides
TestResultBase<T>.ValidValue()

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX