DecimalAssertions Class
Definition
Provides assertions for Decimal values.
public sealed class DecimalAssertions : ObjectAssertions<Decimal>
Constructors
| Name | Description |
|---|---|
DecimalAssertions(Decimal) |
Provides assertions for Decimal values. |
Methods
| Name | Description |
|---|---|
BeGreaterThan(Decimal) |
Asserts that the decimal value is greater than the expected value. |
BeGreaterThanOrEqualTo(Decimal) |
Asserts that the decimal value is greater than or equal to the expected value. |
BeLessThan(Decimal) |
Asserts that the decimal value is less than the expected value. |
BeLessThanOrEqualTo(Decimal) |
Asserts that the decimal value is less than or equal to the expected value. |
BeNegative() |
Asserts that the decimal value is negative. |
BePositive() |
Asserts that the decimal value is positive. |
BeZero() |
Asserts that the decimal value is zero. |
NotBeNegative() |
Asserts that the decimal value is not negative. |
NotBePositive() |
Asserts that the decimal value is not positive. |
NotBeZero() |
Asserts that the decimal value is not zero. |