RandomSelection.java

1
package net.bmahe.genetics4j.core.spec.selection;
2
3
import org.immutables.value.Value;
4
5
@Value.Immutable
6
public abstract class RandomSelection implements SelectionPolicy {
7
8
	public static RandomSelection build() {
9 2 1. build : replaced return value with null for net/bmahe/genetics4j/core/spec/selection/RandomSelection::build → KILLED
2. build : removed call to net/bmahe/genetics4j/core/spec/selection/RandomSelection$1::<init> → KILLED
		return new RandomSelection() {
10
		};
11
	}
12
}

Mutations

9

1.1
Location : build
Killed by : net.bmahe.genetics4j.core.replacement.DeleteNLastImplTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.replacement.DeleteNLastImplTest]/[method:ctorNullSelector()]
replaced return value with null for net/bmahe/genetics4j/core/spec/selection/RandomSelection::build → KILLED

2.2
Location : build
Killed by : net.bmahe.genetics4j.core.replacement.DeleteNLastImplTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.replacement.DeleteNLastImplTest]/[method:ctorNullSelector()]
removed call to net/bmahe/genetics4j/core/spec/selection/RandomSelection$1::<init> → KILLED

Active mutators

Tests examined


Report generated by PIT 1.19.6