Пример #1
0
        public void CheckTextsCount()
        {
            int expected = 3;

            typeracer.Texts texts = new typeracer.Texts();
            texts.GenerateStartingTexts();
            int actual = texts.text.Count();

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
 public void TextsNotNull()
 {
     typeracer.Texts texts = new typeracer.Texts();
     texts.GenerateStartingTexts();
     Assert.IsNotNull(texts.text);
 }