pub enum InputGap {
Unreached,
OneSided {
always: bool,
},
Boundary {
min_shift: i128,
max_shift: i128,
missing: Vec<i128>,
same: (i128, 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.
Fields
same: (i128, i128)The shifts from the first to the second of these answer like the original
for every value the expression can be (see within_reach): they are no
mutants. (0, 0) when it can be every number.
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.