CubesSimulator.kt

1
package com.adventofcode.day17
2
3 4 1. getW : replaced int return with 0 for com/adventofcode/day17/Coordinates::getW → KILLED
2. getX : replaced int return with 0 for com/adventofcode/day17/Coordinates::getX → KILLED
3. getY : replaced int return with 0 for com/adventofcode/day17/Coordinates::getY → KILLED
4. getZ : replaced int return with 0 for com/adventofcode/day17/Coordinates::getZ → KILLED
data class Coordinates(val x: Int, val y: Int, val z: Int, val w: Int)
4
5
6
class CubesSimulator(private val initialState: List<String>) {
7
8
    private var currentState = State.fromInput(*initialState.toTypedArray())
9
10
11
    fun simulateCycles(nbCycles: Int): Long {
12
13
        var cubes = currentState.cubes
14 3 1. simulateCycles : Changed increment from 1 to -1 → TIMED_OUT
2. simulateCycles : negated conditional → TIMED_OUT
3. simulateCycles : changed conditional boundary → KILLED
        repeat(nbCycles) {
15
            cubes += addAllNeighbors(cubes)
16
            cubes = changeStateAccordingToNeighborsSate(cubes)
17
        }
18
19 3 1. simulateCycles : Changed increment from 1 to -1 → KILLED
2. simulateCycles : negated conditional → KILLED
3. simulateCycles : replaced long return with 0 for com/adventofcode/day17/CubesSimulator::simulateCycles → KILLED
        return cubes.count { it.value.isActive() }.toLong()
20
    }
21
22
    private fun changeStateAccordingToNeighborsSate(cubes: Map<Triple<Int, Int, Int>, Cube>): Map<Triple<Int, Int, Int>, Cube> {
23
        return cubes
24
                .map {
25 5 1. changeStateAccordingToNeighborsSate : changed conditional boundary → SURVIVED
2. changeStateAccordingToNeighborsSate : removed call to kotlin/collections/CollectionsKt::throwCountOverflow → NO_COVERAGE
3. changeStateAccordingToNeighborsSate : Changed increment from 1 to -1 → KILLED
4. changeStateAccordingToNeighborsSate : negated conditional → KILLED
5. changeStateAccordingToNeighborsSate : negated conditional → KILLED
                    val numberOfActiveNeighbors = neighbors(it.key).map { cubes[it] }.filterNotNull().count { it.isActive() }
26
                    var currentCube = cubes[it.key]!!
27
                    when (currentCube.isActive()) {
28 3 1. changeStateAccordingToNeighborsSate : negated conditional → KILLED
2. changeStateAccordingToNeighborsSate : negated conditional → KILLED
3. changeStateAccordingToNeighborsSate : negated conditional → KILLED
                        true -> if (numberOfActiveNeighbors != 2 && numberOfActiveNeighbors != 3) {
29
                            currentCube = Cube('.')
30
                        }
31 2 1. changeStateAccordingToNeighborsSate : negated conditional → KILLED
2. changeStateAccordingToNeighborsSate : negated conditional → KILLED
                        false -> if (numberOfActiveNeighbors == 3) {
32
                            currentCube = Cube('#')
33
                        }
34
                    }
35
                    it.key to currentCube
36 1 1. changeStateAccordingToNeighborsSate : replaced return value with null for com/adventofcode/day17/CubesSimulator::changeStateAccordingToNeighborsSate → KILLED
                }.toMap()
37
    }
38
39
    private fun addAllNeighbors(cubes: Map<Triple<Int, Int, Int>, Cube>): Map<Triple<Int, Int, Int>, Cube> {
40
        return cubes
41
                .map {
42
                    neighbors(it.key).map { currentCoordinates ->
43 1 1. addAllNeighbors : negated conditional → KILLED
                        currentCoordinates to (cubes[currentCoordinates] ?: Cube('.'))
44
                    }.distinct()
45
                }
46
                .flatten()
47
                .distinct()
48 1 1. addAllNeighbors : replaced return value with null for com/adventofcode/day17/CubesSimulator::addAllNeighbors → KILLED
                .toMap()
49
    }
50
51
    private fun neighbors(coordinates: Triple<Int, Int, Int>): Collection<Triple<Int, Int, Int>> {
52
        val neighborhood = -1..1
53
        return neighborhood.map { x ->
54
            neighborhood.map { y ->
55
                neighborhood.map { z ->
56 3 1. neighbors : Replaced integer addition with subtraction → SURVIVED
2. neighbors : Replaced integer addition with subtraction → SURVIVED
3. neighbors : Replaced integer addition with subtraction → SURVIVED
                    Triple(coordinates.first + x, coordinates.second + y, coordinates.third + z)
57
                }.filterNot { it == coordinates }
58
            }
59 1 1. neighbors : replaced return value with Collections.emptyList for com/adventofcode/day17/CubesSimulator::neighbors → KILLED
        }.flatten().flatten()
60
    }
61
62
63
    fun simulateCyclesOn4thDim(nbCycles: Int): Long {
64
65
        var cubes = currentState.cubes.map { Coordinates(it.key.first, it.key.second, it.key.third, 0) to it.value }.toMap()
66 3 1. simulateCyclesOn4thDim : Changed increment from 1 to -1 → TIMED_OUT
2. simulateCyclesOn4thDim : changed conditional boundary → KILLED
3. simulateCyclesOn4thDim : negated conditional → KILLED
        repeat(nbCycles) {
67
            cubes += addAllNeighborsOn4thDim(cubes)
68
            cubes = changeStateAccordingToNeighborsSateOn4thDim(cubes)
69
        }
70
71 3 1. simulateCyclesOn4thDim : Changed increment from 1 to -1 → KILLED
2. simulateCyclesOn4thDim : negated conditional → KILLED
3. simulateCyclesOn4thDim : replaced long return with 0 for com/adventofcode/day17/CubesSimulator::simulateCyclesOn4thDim → KILLED
        return cubes.count { it.value.isActive() }.toLong()
72
    }
73
74
    private fun changeStateAccordingToNeighborsSateOn4thDim(cubes: Map<Coordinates, Cube>): Map<Coordinates, Cube> {
75
        return cubes
76
                .map {
77 5 1. changeStateAccordingToNeighborsSateOn4thDim : changed conditional boundary → SURVIVED
2. changeStateAccordingToNeighborsSateOn4thDim : removed call to kotlin/collections/CollectionsKt::throwCountOverflow → NO_COVERAGE
3. changeStateAccordingToNeighborsSateOn4thDim : Changed increment from 1 to -1 → KILLED
4. changeStateAccordingToNeighborsSateOn4thDim : negated conditional → KILLED
5. changeStateAccordingToNeighborsSateOn4thDim : negated conditional → KILLED
                    val numberOfActiveNeighbors = neighborsOn4thDim(it.key).map { cubes[it] }.filterNotNull().count { it.isActive() }
78
                    var currentCube = cubes[it.key]!!
79
                    when (currentCube.isActive()) {
80 3 1. changeStateAccordingToNeighborsSateOn4thDim : negated conditional → KILLED
2. changeStateAccordingToNeighborsSateOn4thDim : negated conditional → KILLED
3. changeStateAccordingToNeighborsSateOn4thDim : negated conditional → KILLED
                        true -> if (numberOfActiveNeighbors != 2 && numberOfActiveNeighbors != 3) {
81
                            currentCube = Cube('.')
82
                        }
83 2 1. changeStateAccordingToNeighborsSateOn4thDim : negated conditional → KILLED
2. changeStateAccordingToNeighborsSateOn4thDim : negated conditional → KILLED
                        false -> if (numberOfActiveNeighbors == 3) {
84
                            currentCube = Cube('#')
85
                        }
86
                    }
87
                    it.key to currentCube
88 1 1. changeStateAccordingToNeighborsSateOn4thDim : replaced return value with null for com/adventofcode/day17/CubesSimulator::changeStateAccordingToNeighborsSateOn4thDim → KILLED
                }.toMap()
89
    }
90
91
    private fun addAllNeighborsOn4thDim(cubes: Map<Coordinates, Cube>): Map<Coordinates, Cube> {
92
        return cubes
93
                .map {
94
                    neighborsOn4thDim(it.key).map { currentCoordinates ->
95 1 1. addAllNeighborsOn4thDim : negated conditional → KILLED
                        currentCoordinates to (cubes[currentCoordinates] ?: Cube('.'))
96
                    }.distinct()
97
                }
98
                .flatten()
99
                .distinct()
100 1 1. addAllNeighborsOn4thDim : replaced return value with null for com/adventofcode/day17/CubesSimulator::addAllNeighborsOn4thDim → KILLED
                .toMap()
101
    }
102
103
    private fun neighborsOn4thDim(coordinates: Coordinates): Collection<Coordinates> {
104
        val neighborhood = -1..1
105
        return neighborhood.map { x ->
106
            neighborhood.map { y ->
107
                neighborhood.map { z ->
108
                    neighborhood.map { w ->
109 4 1. neighborsOn4thDim : Replaced integer addition with subtraction → SURVIVED
2. neighborsOn4thDim : Replaced integer addition with subtraction → SURVIVED
3. neighborsOn4thDim : Replaced integer addition with subtraction → SURVIVED
4. neighborsOn4thDim : Replaced integer addition with subtraction → SURVIVED
                        Coordinates(coordinates.x + x, coordinates.y + y, coordinates.z + z, coordinates.w + w)
110
                    }.filterNot { it == coordinates }
111
                }
112
            }
113 1 1. neighborsOn4thDim : replaced return value with Collections.emptyList for com/adventofcode/day17/CubesSimulator::neighborsOn4thDim → KILLED
        }.flatten().flatten().flatten()
114
    }
115
116
}

Mutations

3

1.1
Location : getW
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced int return with 0 for com/adventofcode/day17/Coordinates::getW → KILLED

2.2
Location : getX
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced int return with 0 for com/adventofcode/day17/Coordinates::getX → KILLED

3.3
Location : getY
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced int return with 0 for com/adventofcode/day17/Coordinates::getY → KILLED

4.4
Location : getZ
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced int return with 0 for com/adventofcode/day17/Coordinates::getZ → KILLED

14

1.1
Location : simulateCycles
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#1]
changed conditional boundary → KILLED

2.2
Location : simulateCycles
Killed by : none
Changed increment from 1 to -1 → TIMED_OUT

3.3
Location : simulateCycles
Killed by : none
negated conditional → TIMED_OUT

19

1.1
Location : simulateCycles
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#1]
Changed increment from 1 to -1 → KILLED

2.2
Location : simulateCycles
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#1]
negated conditional → KILLED

3.3
Location : simulateCycles
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#1]
replaced long return with 0 for com/adventofcode/day17/CubesSimulator::simulateCycles → KILLED

25

1.1
Location : changeStateAccordingToNeighborsSate
Killed by : none
changed conditional boundary → SURVIVED

2.2
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
Changed increment from 1 to -1 → KILLED

3.3
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

4.4
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

5.5
Location : changeStateAccordingToNeighborsSate
Killed by : none
removed call to kotlin/collections/CollectionsKt::throwCountOverflow → NO_COVERAGE

28

1.1
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

2.2
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

3.3
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#3]
negated conditional → KILLED

31

1.1
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

2.2
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

36

1.1
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
replaced return value with null for com/adventofcode/day17/CubesSimulator::changeStateAccordingToNeighborsSate → KILLED

43

1.1
Location : addAllNeighbors
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

48

1.1
Location : addAllNeighbors
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
replaced return value with null for com/adventofcode/day17/CubesSimulator::addAllNeighbors → KILLED

56

1.1
Location : neighbors
Killed by : none
Replaced integer addition with subtraction → SURVIVED

2.2
Location : neighbors
Killed by : none
Replaced integer addition with subtraction → SURVIVED

3.3
Location : neighbors
Killed by : none
Replaced integer addition with subtraction → SURVIVED

59

1.1
Location : neighbors
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
replaced return value with Collections.emptyList for com/adventofcode/day17/CubesSimulator::neighbors → KILLED

66

1.1
Location : simulateCyclesOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
changed conditional boundary → KILLED

2.2
Location : simulateCyclesOn4thDim
Killed by : none
Changed increment from 1 to -1 → TIMED_OUT

3.3
Location : simulateCyclesOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

71

1.1
Location : simulateCyclesOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
Changed increment from 1 to -1 → KILLED

2.2
Location : simulateCyclesOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

3.3
Location : simulateCyclesOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced long return with 0 for com/adventofcode/day17/CubesSimulator::simulateCyclesOn4thDim → KILLED

77

1.1
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : none
changed conditional boundary → SURVIVED

2.2
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
Changed increment from 1 to -1 → KILLED

3.3
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

4.4
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

5.5
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : none
removed call to kotlin/collections/CollectionsKt::throwCountOverflow → NO_COVERAGE

80

1.1
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

2.2
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

3.3
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

83

1.1
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

2.2
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

88

1.1
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced return value with null for com/adventofcode/day17/CubesSimulator::changeStateAccordingToNeighborsSateOn4thDim → KILLED

95

1.1
Location : addAllNeighborsOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

100

1.1
Location : addAllNeighborsOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced return value with null for com/adventofcode/day17/CubesSimulator::addAllNeighborsOn4thDim → KILLED

109

1.1
Location : neighborsOn4thDim
Killed by : none
Replaced integer addition with subtraction → SURVIVED

2.2
Location : neighborsOn4thDim
Killed by : none
Replaced integer addition with subtraction → SURVIVED

3.3
Location : neighborsOn4thDim
Killed by : none
Replaced integer addition with subtraction → SURVIVED

4.4
Location : neighborsOn4thDim
Killed by : none
Replaced integer addition with subtraction → SURVIVED

113

1.1
Location : neighborsOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
replaced return value with Collections.emptyList for com/adventofcode/day17/CubesSimulator::neighborsOn4thDim → KILLED

118

1.1
Location : simulateCycles
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#1]
negated conditional → KILLED

129

1.1
Location : changeStateAccordingToNeighborsSate
Killed by : none
negated conditional → SURVIVED

2.2
Location : changeStateAccordingToNeighborsSate
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[test-factory:shouldFoundActiveCubesAfterNthCycle()]/[dynamic-test:#2]
negated conditional → KILLED

161

1.1
Location : simulateCyclesOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

172

1.1
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : none
negated conditional → SURVIVED

2.2
Location : changeStateAccordingToNeighborsSateOn4thDim
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldFoundActiveCubesAfterNthCycleWhenWaries()]
negated conditional → KILLED

204

1.1
Location : <init>
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldBeAbleToReadFromInput()]
negated conditional → KILLED

205

1.1
Location : <init>
Killed by : com.adventofcode.day17.CubesSimulatorTest.[engine:junit-jupiter]/[class:com.adventofcode.day17.CubesSimulatorTest]/[method:shouldBeAbleToReadFromInput()]
negated conditional → KILLED

Active mutators

Tests examined


Report generated by PIT 1.6.1