DoorPosition.java

1
package g0803.bindingofshiba.model.game.room;
2
3
public enum DoorPosition {
4
    TOP("top"),
5
    BOTTOM("bottom"),
6
    LEFT("left"),
7
    RIGHT("right");
8
9
    private final String side;
10
11
    DoorPosition(String side) {
12
        this.side = side;
13
    }
14
15
    public String getOpenKey() {
16 1 1. getOpenKey : replaced return value with "" for g0803/bindingofshiba/model/game/room/DoorPosition::getOpenKey → KILLED
        return "door.open." + side;
17
    }
18
19
    public String getClosedKey() {
20 1 1. getClosedKey : replaced return value with "" for g0803/bindingofshiba/model/game/room/DoorPosition::getClosedKey → KILLED
        return "door.closed." + side;
21
    }
22
}

Mutations

16

1.1
Location : getOpenKey
Killed by : g0803.bindingofshiba.controller.game.RoomControllerTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.controller.game.RoomControllerTest]/[method:tick()]
replaced return value with "" for g0803/bindingofshiba/model/game/room/DoorPosition::getOpenKey → KILLED

20

1.1
Location : getClosedKey
Killed by : g0803.bindingofshiba.view.game.RoomViewTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.view.game.RoomViewTest]/[method:blitsDoorClosed()]
replaced return value with "" for g0803/bindingofshiba/model/game/room/DoorPosition::getClosedKey → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.0