예제 #1
0
 public void ShouldIncreaseHealthInExpectedRangeAfterSleeping()
 {
     var sut = new PlayerCharacters { Health = 100 };
      sut.Sleep();
      Assert.That(sut.Health, Is.InRange(101, 200));
 }
예제 #2
0
 public void ShouldIncreaseHealthAfterSleeping()
 {
     var sut = new PlayerCharacters { Health = 100 };
      sut.Sleep();
      Assert.That(sut.Health, Is.GreaterThan(100));
 }