Function galvanic_assert::matchers::equal_to [] [src]

pub fn equal_to<'a, T>(expected: T) -> Box<Matcher<'a, T> + 'a> where T: PartialEq + Debug + 'a

Matches if the asserted value is equal to the expected value.

This matcher should not be used when asserting floating point values. Use [close_to] instead.