コード例 #1
0
ファイル: PangramTests.cs プロジェクト: andreyjs26/FFTests
        public void test4()
        {
            // Arrange
            PangramController controller = new PangramController();

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

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("abcdefghijklmnopqrstuvwxyz", result);
        }
コード例 #2
0
ファイル: PangramTests.cs プロジェクト: andreyjs26/FFTests
        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);
        }
コード例 #3
0
ファイル: PangramTests.cs プロジェクト: andreyjs26/FFTests
        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);
        }
コード例 #4
0
ファイル: PangramTests.cs プロジェクト: andreyjs26/FFTests
        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);
        }