C# Class System.Tests.MathFTests

Afficher le fichier Open project: dotnet/corefx

Private Properties

Свойство 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

Méthodes publiques

Méthode Description
AssertEqual ( float expected, float actual, float allowedVariance ) : void

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

Private Methods

Méthode 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 méthode

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.
Résultat void