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

> pure function assert_ not_ equals<T>(actual: T, illegal: T): unit Assert two values are unequal. Parameters actual — the actual value illegal — the unexpec

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

FUNCTION

# assert\_not\_equals

```signature
pure function assert_not_equals<T>(actual: T, illegal: T): unit
```

Assert two values are unequal.

**Parameters**

* **actual** — the actual value
* **illegal** — the unexpected value

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_not_equals.html)Generated API reference, mirrored from the live docs
