Invert negatives default¶
Invert negatives will invert the sign of negative numbers, making them positive.
Mutation table¶
Original | Mutated |
---|---|
- | + |
Examples¶
func makeNegative(i int) int {
return -i
}
func makeNegative(i int) int {
return +i
}