pub struct AdvancedNumericalValidator { /* private fields */ }Expand description
Main validator for advanced numerical accuracy
Implementations§
Source§impl AdvancedNumericalValidator
impl AdvancedNumericalValidator
Sourcepub fn new(config: ValidationConfig) -> Self
pub fn new(config: ValidationConfig) -> Self
Create a new numerical validator
Sourcepub fn add_test_case(&mut self, testcase: ValidationTestCase)
pub fn add_test_case(&mut self, testcase: ValidationTestCase)
Add a test case for validation
Sourcepub fn set_tolerances(&mut self, tolerances: ValidationTolerances)
pub fn set_tolerances(&mut self, tolerances: ValidationTolerances)
Set custom validation tolerances
Sourcepub fn run_validation(&mut self) -> Result<ValidationReport>
pub fn run_validation(&mut self) -> Result<ValidationReport>
Run comprehensive validation suite
Auto Trait Implementations§
impl Freeze for AdvancedNumericalValidator
impl RefUnwindSafe for AdvancedNumericalValidator
impl Send for AdvancedNumericalValidator
impl Sync for AdvancedNumericalValidator
impl Unpin for AdvancedNumericalValidator
impl UnwindSafe for AdvancedNumericalValidator
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more