pub struct VerificationWorkflow<F: IntegrateFloat> {
pub test_cases: Vec<VerificationTestCase<F>>,
}Expand description
Automated verification workflow for numerical methods
Fields§
§test_cases: Vec<VerificationTestCase<F>>Test cases to verify
Implementations§
Source§impl<F: IntegrateFloat> VerificationWorkflow<F>
impl<F: IntegrateFloat> VerificationWorkflow<F>
Sourcepub fn add_test_case(&mut self, testcase: VerificationTestCase<F>)
pub fn add_test_case(&mut self, testcase: VerificationTestCase<F>)
Add test case to workflow
Sourcepub fn run_verification<S: Fn(&[F]) -> IntegrateResult<F>>(
&self,
solver: S,
) -> Vec<VerificationResult<F>>
pub fn run_verification<S: Fn(&[F]) -> IntegrateResult<F>>( &self, solver: S, ) -> Vec<VerificationResult<F>>
Run all verification tests
Trait Implementations§
Source§impl<F: IntegrateFloat> Default for VerificationWorkflow<F>
impl<F: IntegrateFloat> Default for VerificationWorkflow<F>
Auto Trait Implementations§
impl<F> Freeze for VerificationWorkflow<F>
impl<F> RefUnwindSafe for VerificationWorkflow<F>where
F: RefUnwindSafe,
impl<F> Send for VerificationWorkflow<F>where
F: Send,
impl<F> Sync for VerificationWorkflow<F>where
F: Sync,
impl<F> Unpin for VerificationWorkflow<F>where
F: Unpin,
impl<F> UnwindSafe for VerificationWorkflow<F>where
F: UnwindSafe,
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