Exemplo n.º 1
0
        public void Check_That_Any_Other_Response_Is_Misspelled()
        {
            var spellChecker = new DictionaryDotComSpellChecker(new HttpClient(NotFoundHandler.Object));

            Assert.IsFalse(spellChecker.Check("anything"));
        }
Exemplo n.º 2
0
        public void Check_That_SharpEcho_Is_Misspelled()
        {
            var spellChecker = new DictionaryDotComSpellChecker();

            Assert.IsFalse(spellChecker.Check("SharpEcho"));
        }
Exemplo n.º 3
0
        public void Check_That_South_Is_Not_Misspelled()
        {
            var spellChecker = new DictionaryDotComSpellChecker();

            Assert.IsTrue(spellChecker.Check("South"));
        }