# assert_recorded_eq

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactive-testing/function-assert_recorded_eq/

**function** · [`ferroui-reactive-testing`](/docs/0.5.0/api/ferroui-reactive-testing/) · v0.5.0

```rust
fn assert_recorded_eq<T: PartialEq + fmt::Debug>(actual: &[Recorded<ferroui_reactive::Notification<T>>], expected: &[Recorded<Expected<T>>])
```

Asserts that the recorded notifications are the expected ones, in order (`AssertEqual` on the
messages of an observer or observable).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive.Testing/lib.rs#L371)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
