#![doc(html_logo_url = "https://knurling.ferrous-systems.com/knurling_logo_light_text.svg")]
#![no_std]
use defmt::Format;
pub use defmt_test_macros::tests;
#[doc(hidden)]
pub mod export;
mod sealed {
pub trait Sealed {}
impl Sealed for () {}
impl<T, E> Sealed for Result<T, E> {}
}
pub trait TestOutcome: Format + sealed::Sealed {
fn is_success(&self) -> bool;
}
impl TestOutcome for () {
fn is_success(&self) -> bool {
true
}
}
impl<T: Format, E: Format> TestOutcome for Result<T, E> {
fn is_success(&self) -> bool {
self.is_ok()
}
}