public void TestSpellBasicWords() { string result = string.Empty; string word = string.Empty; List <string> results = null; Spelling spelling = new Spelling(); word = "excelent"; result = spelling.TopCorrectionWord(word); Assert.AreEqual("excellent", result); word = "proper"; results = spelling.CorrectionList(word); Assert.AreEqual(1, results.Count); Assert.AreEqual("proper", results[0]); word = "neccessary"; results = spelling.CorrectionList(word); Assert.AreEqual(1, results.Count); Assert.AreEqual("necessary", results[0]); return; }