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

> pure function assert_ ge_ 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_ge_le/

FUNCTION

# assert\_ge\_le

```signature
pure function assert_ge_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 or equal to a lower bound, and less than or equal to an upper bound.

**Parameters**

* **actual** — the actual value
* **least\_expected** — the lower bound (inclusive)
* **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_ge_le.html)Generated API reference, mirrored from the live docs
