public void LetterIsLetter_RemoveNonAlphabet() { WordCountGen newComparison = new WordCountGen(); Assert.AreEqual(true, newComparison.RemoveNonAlphabet('c')); }
public void IsWord_IsAWord_True() { WordCountGen newWord = new WordCountGen(); Assert.AreEqual(true, newWord.IsWord("test")); }
public void WordInSentence_RepeatCounter() { WordCountGen newComparison = new WordCountGen(); Assert.AreEqual(2, newComparison.RepeatCounter("cat")); }
public void SentenceContainsWord_UserSentenceContainsUserWord_True() { WordCountGen newComparison = new WordCountGen(); Assert.AreEqual(true, newComparison.SentenceContainsWord()); }
public void SentenceToArray_UserSentenceToArray_True() { WordCountGen newArray = new WordCountGen(); Assert.AreEqual(true, newArray.SentenceToArray("the cat in the hat")); }
public void WordToLowerCase_TurnWordToLowerCase() { WordCountGen newSentence = new WordCountGen(); Assert.AreEqual("the cat in the hat", newSentence.SentenceToLowerCase("The CAT in the Hat")); }
public void IsSentence_IsASentence_True() { WordCountGen newSentence = new WordCountGen(); Assert.AreEqual(true, newSentence.IsSentence("the cat in the hat")); }