pub struct DiffTestResult {
pub c_output: ExecutionOutput,
pub rust_output: ExecutionOutput,
pub stdout_matches: bool,
pub exit_code_matches: bool,
pub divergences: Vec<String>,
}Expand description
Result of a differential test comparing C and Rust execution.
Fields§
§c_output: ExecutionOutputOutput from the compiled C binary
rust_output: ExecutionOutputOutput from the compiled Rust binary
stdout_matches: boolWhether stdout is identical
exit_code_matches: boolWhether exit codes are identical
divergences: Vec<String>List of specific divergences found
Implementations§
Trait Implementations§
Source§impl Clone for DiffTestResult
impl Clone for DiffTestResult
Source§fn clone(&self) -> DiffTestResult
fn clone(&self) -> DiffTestResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiffTestResult
impl RefUnwindSafe for DiffTestResult
impl Send for DiffTestResult
impl Sync for DiffTestResult
impl Unpin for DiffTestResult
impl UnsafeUnpin for DiffTestResult
impl UnwindSafe for DiffTestResult
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