pub struct Testing { /* private fields */ }
Expand description
The testing context.
Implementations§
Source§impl Testing
impl Testing
Sourcepub fn qbsdiff_with(
&self,
s: &[u8],
t: &[u8],
opts: QbsdiffOptions,
) -> Result<Vec<u8>>
pub fn qbsdiff_with( &self, s: &[u8], t: &[u8], opts: QbsdiffOptions, ) -> Result<Vec<u8>>
Perform qbsdiff with options.
Sourcepub fn qbspatch_with(
&self,
s: &[u8],
p: &[u8],
opts: QbspatchOptions,
) -> Result<Vec<u8>>
pub fn qbspatch_with( &self, s: &[u8], p: &[u8], opts: QbspatchOptions, ) -> Result<Vec<u8>>
Perform qbspatch with options.
Sourcepub fn get_regular_samples(&self) -> Result<Vec<Sample>>
pub fn get_regular_samples(&self) -> Result<Vec<Sample>>
Get regular samples.
Sourcepub fn get_pathological_samples(&self) -> Result<Vec<Sample>>
pub fn get_pathological_samples(&self) -> Result<Vec<Sample>>
Get pathological samples.
Sourcepub fn get_random_samples(&self, descs: &[RandomSample]) -> Result<Vec<Sample>>
pub fn get_random_samples(&self, descs: &[RandomSample]) -> Result<Vec<Sample>>
Prepare random samples if needed and get the sample list.
Auto Trait Implementations§
impl Freeze for Testing
impl RefUnwindSafe for Testing
impl Send for Testing
impl Sync for Testing
impl Unpin for Testing
impl UnwindSafe for Testing
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