fuchsia_bluetooth::expectation::prelude

Function expect_eq

Source
pub fn expect_eq<'t, T: Debug + PartialEq + Send>(
    expected: &'t T,
    actual: &'t T,
    file: &str,
    line: u32,
    expected_name: &str,
    actual_name: &str,
) -> Result<(), Error>
Expand description

A shorthand for creating an expectation that expected and actual are equal and testing the predicate.