pub struct LangTest { /* private fields */ }
Implementations§
Source§impl LangTest
impl LangTest
pub const LOG_TAG: &'static str = "LangTest"
pub fn new() -> Self
pub fn add_unit(&mut self, name: &str)
pub fn add_sub_unit( &mut self, name: &str, ) -> Result<(), DataTypeConstraintError>
pub fn add_assert_result(&mut self, assert_result: AssertResult)
pub fn test_count(&self) -> usize
pub fn test_passed_count(&self) -> usize
pub fn print_results(&self) -> String
pub fn print_results_to_terminal(&self, term: &mut TerminalIO)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LangTest
impl RefUnwindSafe for LangTest
impl Send for LangTest
impl Sync for LangTest
impl Unpin for LangTest
impl UnwindSafe for LangTest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more