Example #1
0
        public void test4()
        {
            // Arrange
            PangramController controller = new PangramController();

            // Act
            string result = controller.listMissingLetter("");

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("abcdefghijklmnopqrstuvwxyz", result);
        }
Example #2
0
        public void test2()
        {
            // Arrange
            PangramController controller = new PangramController();

            // Act
            string result = controller.listMissingLetter("Four score and seven years ago.");

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("bhijklmpqtwxz", result);
        }
Example #3
0
        public void test3()
        {
            // Arrange
            PangramController controller = new PangramController();

            // Act
            string result = controller.listMissingLetter("To be or not to be, that is the question!");

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("cdfgjklmpvwxyz", result);
        }
Example #4
0
        public void test1()
        {
            // Arrange
            PangramController controller = new PangramController();

            // Act
            string result = controller.listMissingLetter("A quick brown fox jumps over the lazy dog");

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("", result);
        }