pub struct VerificationResult {
pub passed: bool,
pub total_tests: usize,
pub passed_tests: usize,
pub failed_tests: usize,
pub test_results: Vec<TestResult>,
}Expand description
Result of verifying implementation against EMC test cases.
Fields§
§passed: boolWhether all verification tests passed
total_tests: usizeTotal number of tests
passed_tests: usizeNumber of passed tests
failed_tests: usizeNumber of failed tests
test_results: Vec<TestResult>Details of each test result
Implementations§
Source§impl VerificationResult
impl VerificationResult
Sourcepub fn from_tests(test_results: Vec<TestResult>) -> Self
pub fn from_tests(test_results: Vec<TestResult>) -> Self
Create a new verification result from test outcomes.
Trait Implementations§
Source§impl Clone for VerificationResult
impl Clone for VerificationResult
Source§fn clone(&self) -> VerificationResult
fn clone(&self) -> VerificationResult
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 VerificationResult
impl RefUnwindSafe for VerificationResult
impl Send for VerificationResult
impl Sync for VerificationResult
impl Unpin for VerificationResult
impl UnsafeUnpin for VerificationResult
impl UnwindSafe for VerificationResult
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