Trait morq::core::Assert
[−]
[src]
pub trait Assert<L, R> { fn compare(&self, expected: L, target: R) -> AssertResult; }
Assert trait
Required Methods
fn compare(&self, expected: L, target: R) -> AssertResult
Implementors
impl<L: Debug + PartialEq<R>, R: Debug> Assert<L, R> for Equal
impl<L: Debug + Float> Assert<L, L> for Close
impl<L: Debug + 'static, R: Debug + PartialEq<TypeId>> Assert<L, R> for TypeMatch
impl<L: Debug + Iterator + Clone, R> Assert<L, R> for Empty
impl<L: Debug + Iterator + Clone, R: Unsigned + ToPrimitive + Display> Assert<L, R> for LengthOf
impl<L: Debug + Iterator + Clone, R: PartialEq<<L as Iterator>::Item>> Assert<L, R> for Contain
impl<L: Iterator + Debug, R> Assert<L, R> for ResultCheck