pub enum InputGap {
Unreached,
OneSided {
always: bool,
},
Boundary {
min_shift: i128,
max_shift: i128,
missing: Vec<i128>,
},
EqualNeverObserved {
flipped: CmpOp,
float_gap: Option<(f64, f64)>,
},
}Expand description
A hole in the test inputs at one comparison: mutations that no test can tell apart from the original, because no test ever feeds the comparison a distinguishing value.
Variants§
Unreached
No test executes the comparison.
OneSided
The comparison has the same result in every test; Const(always) survives.
Boundary
Every Shift(d) with min_shift <= d <= max_shift, d != 0, survives.
missing lists the unobserved values of D next to the boundary that would pin it.
EqualNeverObserved
The operands were never equal (and carry no integer values); Op(flipped) survives.
For floats, float_gap is the range of differences no test observed: every
ShiftF(d) strictly inside it survives too.
Implementations§
Trait Implementations§
impl StructuralPartialEq for InputGap
Auto Trait Implementations§
impl Forget for InputGap
impl Freeze for InputGap
impl Move for InputGap
impl RefUnwindSafe for InputGap
impl Send for InputGap
impl Sync for InputGap
impl Unpin for InputGap
impl UnsafeUnpin for InputGap
impl UnwindSafe for InputGap
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