예제 #1
0
 public void PlayerCheckPointsAndExist_whenReturnNumberOfPoints()
 {
     playerPrefsAdapter.HasKey("score").Returns(true);
     playerPrefsAdapter.GetInt("score").Returns(100);
     logic = new LogicPointsPlayer(controllerPointsView, playerPrefsAdapter);
     //assert
     Assert.AreEqual(100, logic.GetPoints());
 }
예제 #2
0
 public int GetPuntuacion()
 {
     return(logicPointsPlayer.GetPoints());
 }