Ejemplo n.º 1
0
 public void ButtonsStateN()
 {
     WordState w = new WordState();
     w.ButtonStateN();
     Assert.AreEqual(w.Button1, "");
     Assert.AreEqual(w.Button2, "Далее");
     Assert.AreEqual(w.B1, false);
     Assert.AreEqual(w.B2, true);
 }
Ejemplo n.º 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.ButtonStateN();
     return w;
 }