Exemplo n.º 1
0
 public void ReduceScoreErrorCheckTest()
 {
     //点数がマイナスにならないかどうかのテスト
     scon.AddScore(ScorePoint);
     for (int i = 0; i < 100; i++)
     {
         scon.ReduceScore(ScorePoint);
     }
     Assert.That(0f, Is.EqualTo(scon.GetScore()));
 }
Exemplo n.º 2
0
 public float AddScore(float ScorePoint)
 {
     return(scon.AddScore(ScorePoint));
 }