[−][src]Function fungus::core::assert_iter_eq
pub fn assert_iter_eq<T, U>(x: T, y: U) where
T: IntoIterator,
U: IntoIterator,
T::Item: Debug + PartialEq<U::Item>,
U::Item: Debug,
Assert that the elements of the given iterables are equal and Panics
when when not.
Examples
use fungus::core::*; assert_iter_eq(vec![1, 2, 3].into_iter(), vec![1, 2, 3].into_iter());