C# Class NFluent.FloatSignedCheckExtensions

Provides check methods to be executed on an float value that is considered as a signed number.
Datei anzeigen Open project: tpierrain/NFluent

Public Methods

Method Description
IsNegativeOrZero ( this check ) : ICheckLink>

Checks that the actual value is negative or equal to zero.

IsPositiveOrZero ( this check ) : ICheckLink>

Checks that the actual value is positive or equal to zero.

IsStrictlyNegative ( this check ) : ICheckLink>

Checks that the actual value is strictly negative.

IsStrictlyPositive ( this check ) : ICheckLink>

Checks that the actual value is strictly positive.

Private Methods

Method Description
IsNegative ( this check ) : ICheckLink>
IsPositive ( this check ) : ICheckLink>

Method Details

IsNegativeOrZero() public static method

Checks that the actual value is negative or equal to zero.
The value is not negative or equal to zero.
public static IsNegativeOrZero ( this check ) : ICheckLink>
check this The fluent check to be extended.
return ICheckLink>

IsPositiveOrZero() public static method

Checks that the actual value is positive or equal to zero.
The value is not positive or equal to zero.
public static IsPositiveOrZero ( this check ) : ICheckLink>
check this The fluent check to be extended.
return ICheckLink>

IsStrictlyNegative() public static method

Checks that the actual value is strictly negative.
The value is not strictly negative.
public static IsStrictlyNegative ( this check ) : ICheckLink>
check this The fluent check to be extended.
return ICheckLink>

IsStrictlyPositive() public static method

Checks that the actual value is strictly positive.
The value is not strictly positive.
public static IsStrictlyPositive ( this check ) : ICheckLink>
check this The fluent check to be extended.
return ICheckLink>