Пример #1
0
 public void ButtonsStateP()
 {
     WordState w = new WordState();
     w.ButtonStateP();
     Assert.AreEqual(w.Button1, "Не помню");
     Assert.AreEqual(w.Button2, "Далее");
     Assert.AreEqual(w.B1, true);
     Assert.AreEqual(w.B2, true);
 }
Пример #2
0
 public Model.WordState State()
 {
     WordState w = new WordState();
     Word word = _automat.word;
     w.Text(word.EWord, word.Transcription, word.EPhrase, word.RWord, word.RPhrase);
     w.All();
     w.ButtonStateP();
     return w;
 }