Пример #1
0
 public void SubtractGameScore()
 {
     gameEntity = new RaceXEntity();
     gameEntity.SetGameScore(1);
     gameEntity.SubtractGameScore(1);
     Assert.True(gameEntity.GetGameScore() == 0);
 }
Пример #2
0
 public void AddGameScore()
 {
     gameEntity = new RaceXEntity();
     gameEntity.SetGameScore(1);
     gameEntity.AddGameScore(1);
     Assert.True(gameEntity.GetGameScore() == 2);
 }