public void DeselectSpell_Empty() { SpellCastState state = new SpellCastState(); state.DeselectSpell(); Assert.AreEqual(0, state.SelectedSpellCount); }
public void DeselectSpell_One() { SpellCastState state = new SpellCastState(); state.SelectSpell(SpellElement.Fire); state.DeselectSpell(); Assert.AreEqual(0, state.SelectedSpellCount); }
public void DeselectSpell_LIFO() { SpellCastState state = new SpellCastState(); state.SelectSpell(SpellElement.Fire); state.SelectSpell(SpellElement.Water); state.DeselectSpell(); Assert.AreEqual(SpellElement.Fire, state.SelectedSpells[0]); }