@ -9,8 +9,7 @@ public class Player {
}
public void addPoints(int pointsToAdd) {
// TODO Auto-generated method stub
this.points = pointsToAdd;
public int getPoints() {
@ -22,7 +22,8 @@ class PlayerTest {
private static Stream<Arguments> testCasesForAddPoints() {
return Stream.of(Arguments.of("NoPointsBeforeGet0Points", 0, 0, 0));
return Stream.of(Arguments.of("NoPointsBeforeGet0Points", 0, 0, 0),
Arguments.of("NoPointsBeforeGet10Points", 0, 10, 10));