Пример #1
0
        public void CheckDictionary_ValidateSuggestionsFound()
        {
            var collSugWords = new SuggestedWordsCollection();
            var slc          = new SpellingListClass();

            // Arrange
            const string Word = "finnd";

            // Act
            slc.CheckDictionary(Word);
            var retVal = collSugWords.ItemsCount();

            // Assert
            Assert.AreNotEqual(retVal, 0, "retVal should be larger as it should have a list of words.");
        }
Пример #2
0
 /// <summary>
 /// Display all of the users spelling list in the list box.
 /// </summary>
 /// <created>art2m,5/22/2019</created>
 /// <changed>art2m,5/22/2019</changed>
 private void DisplayUsersSpellingList()
 {
     var dirPath = SpellingListClass.CheckDictionary();
 }