assert_eq

Function assert_eq 

Source
pub fn assert_eq<U: Debug, T: Debug + PartialEq<U>>(
    msg: impl AsRef<str>,
    x: T,
    y: U,
)
Expand description

Assert that x and y are equal, naming the assertion with msg, which will be used as a label in the CLI runner.