Skip to content

Add RNM mutator (Remove Negation) - #3069

Open
sidarth16 wants to merge 6 commits into
crytic:masterfrom
sidarth16:RNM-RemoveNegationMutator
Open

Add RNM mutator (Remove Negation)#3069
sidarth16 wants to merge 6 commits into
crytic:masterfrom
sidarth16:RNM-RemoveNegationMutator

Conversation

@sidarth16

Copy link
Copy Markdown
Contributor

This PR introduces the RNM (Remove Negation) mutator to the existing mutator set.

The mutator removes logical negation (!) from unary expressions, enabling mutation testing to evaluate whether tests correctly detect inverted boolean logic.

Examples

require(!paused)require(paused)

assert(!(x > 0))assert((x > 0))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant