public void PreviousStateTest() { MenuState.SetState(State.MainMenu); Assert.IsTrue(MenuState.CurrentIs(State.MainMenu)); MenuState.SetState(State.Game); Assert.IsTrue(MenuState.CurrentIs(State.Game)); Assert.IsTrue(MenuState.Previous == State.MainMenu); }
public void SetStateTest() { MenuState.SetState(State.MainMenu); Assert.IsTrue(MenuState.CurrentIs(State.MainMenu)); }