예제 #1
0
        public void TestMethodMixnMatch()
        {
            //Arange
            var sentenceTest = "abcdeFghijKlmnopqrstuvWXYZ";
            //Act
            var isPangram = Pangram.PangramSolution(sentenceTest);

            //Assert
            Assert.AreEqual(isPangram, "pangram");
        }
예제 #2
0
        public void TestMethod2AllUpper()
        {
            //Arange
            var sentenceTest = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
            //Act
            var isPangram = Pangram.PangramSolution(sentenceTest);

            //Assert
            Assert.AreEqual(isPangram, "pangram");
        }
예제 #3
0
        public void TestMethod3AllLower()
        {
            //Arange
            var sentenceTest = "abcdefghijklmnopqrstuvwxyz";
            //Act
            var isPangram = Pangram.PangramSolution(sentenceTest);

            //Assert
            Assert.AreEqual(isPangram, "pangram");
        }
예제 #4
0
        public void TestMethod1()
        {
            //Arange
            var sentenceTest = "We promptly judged antique ivory buckles for the next prize";
            //Act
            var isPangram = Pangram.PangramSolution(sentenceTest);

            //Assert
            Assert.AreEqual(isPangram, "pangram");
        }