# assert_gt_le · Rell standard library · Chromia Docs (concept)

> pure function assert_ gt_ le<T>(actual: T, least_ expected: T, greatest_ expected: T): unit Assert that a value falls within given bounds. Specifically, as

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.test/assert_gt_le/

FUNCTION

# assert\_gt\_le

```signature
pure function assert_gt_le<T>(actual: T, least_expected: T, greatest_expected: T): unit
```

Assert that a value falls within given bounds.

Specifically, assert that the value is greater than a lower bound, and less than or equal to an upper bound.

**Parameters**

* **actual** — the actual value
* **least\_expected** — the lower bound (exclusive)
* **greatest\_expected** — the upper bound (inclusive)

Since 0.10.4

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/rell.test/assert_gt_le.html)Generated API reference, mirrored from the live docs
