Example #1
0
        public void IsValid_WordandSentence_True()
        {
            WordCounter testWordCounter = new WordCounter("Hi", "How are you.");

            Assert.AreEqual(true, testWordCounter.IsValid());
            WordCounter test2WordCounter = new WordCounter("Hey you", "How are you.");

            Assert.AreEqual(false, test2WordCounter.IsValid());
        }