From 0189baea12b92f07be5baef32331b6b5a9426822 Mon Sep 17 00:00:00 2001 From: Apoorva Srivastava Date: Fri, 28 May 2021 23:27:35 -0400 Subject: [PATCH] Update description of integer Inline Constant Mutator to match code Based one lines https://github.com/hcoles/pitest/blob/83d62d63cfcbabf36cf5fb3f65e20f0b5ae81c71/pitest/src/main/java/org/pitest/mutationtest/engine/gregor/mutators/InlineConstantMutator.java#L70-L86 --- quickstart/mutators.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/mutators.markdown b/quickstart/mutators.markdown index 55538c5..0064088 100644 --- a/quickstart/mutators.markdown +++ b/quickstart/mutators.markdown @@ -478,7 +478,7 @@ are converted to byte code. | Constant Type | Mutation |--------------------------|--- | `boolean` | replace the unmutated value `true` with `false` and replace the unmutated value `false` with `true` -| `integer` `byte` `short` | replace the unmutated value `1` with `0`, `-1` with `1`, `5` with `-1` or otherwise increment the unmutated value by one. [1](#fn1) +| `integer` `byte` `short` | replace the unmutated value `1` with `0`, `Byte.MAX_VALUE` with `Byte.MIN_VALUE`, `Short.MAX_VALUE` with `Short.MIN_VALUE` or otherwise increment the unmutated value by one. [1](#fn1) | `long` | replace the unmutated value `1` with `0`, otherwise increment the unmutated value by one. | `float` | replace the unmutated values `1.0` and `2.0` with `0.0` and replace any other value with `1.0` [2](#fn2) | `double` | replace the unmutated value `1.0` with `0.0` and replace any other value with `1.0` [3](#fn3)