Exemplo n.º 1
0
 public void TestIsPointlessChatterUppercase()
 {
     foreach (var phrase in PointlessChatterGenerator.PointlessPhrases)
     {
         Assert.IsTrue(PointlessChatterGenerator.IsPointlessChatter(phrase.ToUpper()));
     }
 }
Exemplo n.º 2
0
 public void TestIsPointlessChatterStartingLongerSentence()
 {
     foreach (var phrase in PointlessChatterGenerator.PointlessPhrases)
     {
         Assert.IsTrue(PointlessChatterGenerator.IsPointlessChatter(phrase + ", how are you?"));
     }
 }
Exemplo n.º 3
0
 public void TestIsPointlessChatterTrailingPunctuation()
 {
     foreach (var phrase in PointlessChatterGenerator.PointlessPhrases)
     {
         Assert.IsTrue(PointlessChatterGenerator.IsPointlessChatter(phrase + "!"));
     }
 }
Exemplo n.º 4
0
        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"));
        }