Exavier.Mutators.ROR2 (exavier v0.3.0)
Mutates relational operators into another operation.
Operators are replaced according to the table below.
Original | Mutation |
---|---|
< | > |
<= | > |
> | <= |
>= | <= |
== | <= |
!= | <= |
For example:
a < 5
will be mutated into
a > 5
Mutates relational operators into another operation.
Operators are replaced according to the table below.
Original | Mutation |
---|---|
< | > |
<= | > |
> | <= |
>= | <= |
== | <= |
!= | <= |
For example:
a < 5
will be mutated into
a > 5