Skip to content

Mutator for numbers #2849

@Liam-Rougoor

Description

@Liam-Rougoor

Is your feature request related to a problem? Please describe.
Similar to the StringMutator, we could mutate numbers.

Describe the solution you'd like
I'd like to see a mutator for numbers. Example mutations could be:

Original Mutation
var x = 10; var x = 0;
var x = 10; var x = -10;

With semantic model, we could add some mutations on numeric variables as well:

Original Mutation
var x = myNumericVariable; var x = -myNumericVariable;

This example might be bad if myNumericVariable equals 0..

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions