pub struct VerificationTest {
pub description: String,
pub inputs: HashMap<String, f64>,
pub expected: f64,
pub tolerance: f64,
pub source: Option<String>,
}Expand description
A verification test case with known analytical solution.
Fields§
§description: StringDescription of the test case
inputs: HashMap<String, f64>Input values
expected: f64Expected output value
tolerance: f64Tolerance for comparison
source: Option<String>Source of the analytical solution
Implementations§
Trait Implementations§
Source§impl Clone for VerificationTest
impl Clone for VerificationTest
Source§fn clone(&self) -> VerificationTest
fn clone(&self) -> VerificationTest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerificationTest
impl RefUnwindSafe for VerificationTest
impl Send for VerificationTest
impl Sync for VerificationTest
impl Unpin for VerificationTest
impl UnsafeUnpin for VerificationTest
impl UnwindSafe for VerificationTest
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