Example #1
0
 public void ReduceScoreErrorCheckTest()
 {
     //点数がマイナスにならないかどうかのテスト
     lcon.AddLife(LifePoint);
     for (int i = 0; i < 100; i++)
     {
         lcon.ReduceLife(LifePoint);
     }
     Assert.That(0f, Is.EqualTo(lcon.GetLife()));
 }
Example #2
0
 public float ReduceLife(float LifePoint)
 {
     return(lcon.ReduceLife(LifePoint));;
 }