Main.java

1
package re.forestier.edu;
2
import re.forestier.edu.rpg.Affichage;
3
import re.forestier.edu.rpg.UpdatePlayer;
4
import re.forestier.edu.rpg.player;
5
6
import java.util.ArrayList;
7
8
public class Main {
9
    public static void main(String[] args) {
10
        player firstPlayer = new player("Florian", "Ruzberg de Rivehaute", "DWARF", 200, new ArrayList<>());
11 1 1. main : removed call to re/forestier/edu/rpg/player::addMoney → NO_COVERAGE
        firstPlayer.addMoney(400);
12
13
        UpdatePlayer.addXp(firstPlayer, 15);
14 1 1. main : removed call to java/io/PrintStream::println → NO_COVERAGE
        System.out.println(Affichage.afficherJoueur(firstPlayer));
15 1 1. main : removed call to java/io/PrintStream::println → NO_COVERAGE
        System.out.println("------------------");
16
        UpdatePlayer.addXp(firstPlayer, 20);
17 1 1. main : removed call to java/io/PrintStream::println → NO_COVERAGE
        System.out.println(Affichage.afficherJoueur(firstPlayer));
18
    }
19
}

Mutations

11

1.1
Location : main
Killed by : none
removed call to re/forestier/edu/rpg/player::addMoney → NO_COVERAGE

14

1.1
Location : main
Killed by : none
removed call to java/io/PrintStream::println → NO_COVERAGE

15

1.1
Location : main
Killed by : none
removed call to java/io/PrintStream::println → NO_COVERAGE

17

1.1
Location : main
Killed by : none
removed call to java/io/PrintStream::println → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.15.0