Muex.Mutator.NegateConditionals (Muex v0.8.1)

View Source

Mutator that replaces a relational operator with its logical complement.

  • < -> >=
  • > -> <=
  • <= -> >
  • >= -> <

This is PITest's "Negate Conditionals" semantics: each mutation flips the truth value of the condition for every input. It deliberately leaves the equality operators (==, !=, ===, !==) to Muex.Mutator.Comparison and the directional/boundary shifts (e.g. < -> >) to that mutator too, so the two mutators compose without producing duplicate mutants.