public void RememberNextStateTest()
 {
     WordAutomat w = new WordAutomat();
     w.word = WordEngine.GetWord();
     Remember s = new Remember(w);
     s.NextState(StateMsg.yes);
     Assert.IsTrue(Object.ReferenceEquals(w.state.GetType(), (new SelectWord(w)).GetType()));
     s.NextState(StateMsg.no);
     Assert.IsTrue(Object.ReferenceEquals(w.state.GetType(), (new SelectWord(w)).GetType()));
 }
 public void RemeberStateTest()
 {
     WordAutomat w = new WordAutomat();
     w.word = WordEngine.GetWord();
     AppSettings.SetSound(false);
     Remember s = new Remember(w);
     WordState st = s.GetState();
     Assert.AreEqual(true, st.B1);
     Assert.AreEqual(true, st.B2);
     Assert.AreEqual("Не помню", st.Button1);
     Assert.AreEqual("Далее", st.Button2);
     Assert.AreEqual(true, st.E);
     Assert.AreEqual(true, st.R);
     Assert.AreEqual(true, st.S);
 }