Trait unit_testing::unit::object::Theory
source · pub trait Theory {
// Required methods
fn chaos(&mut self, callback: &dyn Fn() -> bool) -> &mut Self;
fn theory<T: PartialEq>(
&mut self,
expected: T,
callback: &dyn Fn() -> T
) -> &mut Self;
}Expand description
§Add theory useful method
Required Methods§
Object Safety§
This trait is not object safe.