C# Class System.Tests.MathFTests

Datei anzeigen Open project: dotnet/corefx

Private Properties

Property Type Description
Abs void
Acos void
Asin void
Atan void
Atan2 void
Ceiling void
Cos void
Cosh void
Exp void
Floor void
IEEERemainder void
Log void
Log10 void
LogWithBase void
Max void
Min void
Pow void
Round void
Round_Digits void
Sign void
Sin void
Sinh void
Sqrt void
Tan void
Tanh void
Truncate void

Public Methods

Method Description
AssertEqual ( float expected, float actual, float allowedVariance ) : void

Verifies that two float values are equal, within the allowedVariance.

Private Methods

Method Description
Abs ( ) : void
Acos ( ) : void
Asin ( ) : void
Atan ( ) : void
Atan2 ( ) : void
Ceiling ( ) : void
Cos ( ) : void
Cosh ( ) : void
Exp ( ) : void
Floor ( ) : void
IEEERemainder ( ) : void
Log ( ) : void
Log10 ( ) : void
LogWithBase ( ) : void
Max ( ) : void
Min ( ) : void
Pow ( ) : void
Round ( ) : void
Round_Digits ( ) : void
Sign ( ) : void
Sin ( ) : void
Sinh ( ) : void
Sqrt ( ) : void
Tan ( ) : void
Tanh ( ) : void
Truncate ( ) : void

Method Details

AssertEqual() public static method

Verifies that two float values are equal, within the allowedVariance.
Thrown when the values are not equal
public static AssertEqual ( float expected, float actual, float allowedVariance ) : void
expected float The expected value
actual float The value to be compared against
allowedVariance float The total variance allowed between the expected and actual results.
return void