Pond.java

1
package com.takenoko.layers.tile;
2
3
/** Class Pond represents a pond in the game. A pond has a type POND {@link TileType}. */
4
public class Pond extends Tile {
5
    public Pond() {
6
        super(TileType.POND, null, TileColor.NONE);
7
    }
8
9
    @Override
10
    public Pond copy() {
11 1 1. copy : replaced return value with null for com/takenoko/layers/tile/Pond::copy → KILLED
        return new Pond();
12
    }
13
}

Mutations

11

1.1
Location : copy
Killed by : com.takenoko.layers.tile.TileLayerTest.[engine:junit-jupiter]/[class:com.takenoko.layers.tile.TileLayerTest]/[nested-class:TestCopy]/[method:copy_shouldReturnCopyOfObject()]
replaced return value with null for com/takenoko/layers/tile/Pond::copy → KILLED

Active mutators

Tests examined


Report generated by PIT 1.8.0