public void TestIsPointlessChatterUppercase() { foreach (var phrase in PointlessChatterGenerator.PointlessPhrases) { Assert.IsTrue(PointlessChatterGenerator.IsPointlessChatter(phrase.ToUpper())); } }
public void TestIsPointlessChatterStartingLongerSentence() { foreach (var phrase in PointlessChatterGenerator.PointlessPhrases) { Assert.IsTrue(PointlessChatterGenerator.IsPointlessChatter(phrase + ", how are you?")); } }
public void TestIsPointlessChatterTrailingPunctuation() { foreach (var phrase in PointlessChatterGenerator.PointlessPhrases) { Assert.IsTrue(PointlessChatterGenerator.IsPointlessChatter(phrase + "!")); } }
public void TestIsPointlessChatterSimple() { foreach (var phrase in PointlessChatterGenerator.PointlessPhrases) { Assert.IsTrue(PointlessChatterGenerator.IsPointlessChatter(phrase)); } Assert.IsFalse(PointlessChatterGenerator.IsPointlessChatter("doo bee doo bee doo")); Assert.IsFalse(PointlessChatterGenerator.IsPointlessChatter("highrise")); }