public void SomeTempAndMaxCurrent_shouldNotChangeCurrentOrTemp() { var expectedCharacter = MakeCharacter(20, 20, 20); var healService = new HealService(); var actualCharacter = MakeCharacter(20, 20, 20); healService.HealCharacter(actualCharacter, 10); actualCharacter.Should().BeEquivalentTo(expectedCharacter); }
public void SomeTempAndCurrentDeficit_shouldHealCurrentAndNotChangeTemp() { var expectedCharacter = MakeCharacter(20, 20, 20); var healService = new HealService(); var actualCharacter = MakeCharacter(20, 10, 20); healService.HealCharacter(actualCharacter, 15); actualCharacter.Should().BeEquivalentTo(expectedCharacter); }
public void NoTempAndHealMoreThanDeficit_shouldHealToMax() { var expectedCharacter = MakeCharacter(20, 20, 0); var healService = new HealService(); var actualCharacter = MakeCharacter(20, 10, 0); healService.HealCharacter(actualCharacter, 15); actualCharacter.Should().BeEquivalentTo(expectedCharacter); }