Skip to content

DecimalAssertions.BeLessThanOrEqualTo Method

Definition

Asserts that the decimal value is less than or equal to the expected value.

public DecimalAssertionsChain BeLessThanOrEqualTo(decimal expected);

Parameters

Name Type Description
expected Decimal The value the decimal should be less than or equal to.

Returns

DecimalAssertionsChain

A DecimalAssertionsChain for chaining further assertions.