Пример #1
0
        public void Test003_GivenDetectPangram_WhenInputIsAPangramButUsesUpperAndLowerCase_ThenIsPangramReturnsTrue()
        {
            string input = "AbCdEfGhIjKlM zYxWvUtSrQpOn";

            Assert.IsTrue(DetectPangram.IsPangram(input));
        }
Пример #2
0
        public void Test002_GivenDetectPangram_WhenInputIsAPangram_ThenIsPangramReturnsTrue()
        {
            string input = "The quick brown fox jumps over the lazy dog";

            Assert.IsTrue(DetectPangram.IsPangram(input));
        }
Пример #3
0
 public void TestMethod1()
 {
     Assert.AreEqual(true, DetectPangram.IsPangram("The quick brown fox jumps over the lazy dog."));
 }
Пример #4
0
        public void Test001_GivenDetectPangram_WhenInputIsNotAPangram_ThenIsPangramReturnsFalse()
        {
            string input = "Not a pangram.";

            Assert.IsFalse(DetectPangram.IsPangram(input));
        }
Пример #5
0
 public void TestMethod2()
 {
     Assert.AreEqual(false, DetectPangram.IsPangram("This senetence does not have all the letters in the alphabet!!!"));
 }