public void ShouldHealWithLowHP(int currentHPP, int lowHPP, bool expected) { // Setup fixture RestState sut = CreateSut(); MockEliteAPI.Player.HPPCurrent = currentHPP; MockConfig.IsHealthEnabled = true; MockConfig.LowHealth = lowHPP; // Exercise system var result = sut.Check(); // Verify outcome Assert.Equal(expected, result); // Teardown }
public RestPlace(int _id) { id = _id; state = RestState.Empty; }