public void IsRetired_NoFlag_Test() { PlayerInstance pch = new PlayerInstance(1, "TestChar") { PlayerData = new PlayerData(1, 1) }; Assert.That(pch.IsRetired(), Is.False); }
public void IsRetired_Test() { PlayerInstance pch = new PlayerInstance(1, "TestChar") { PlayerData = new PlayerData(1, 1) }; pch.PlayerData.Flags = pch.PlayerData.Flags.SetBit(PCFlags.Retired); Assert.That(pch.IsRetired(), Is.True); }
public void IsRetired_NoData_Test() { PlayerInstance pch = new PlayerInstance(1, "TestChar"); Assert.That(pch.IsRetired(), Is.False); }