Ejemplo n.º 1
0
        public void TestPangramsSolution(string sentence, bool expected)
        {
            // Arrange
            Solutions.Strings.Pangrams.Solution solution = new Solutions.Strings.Pangrams.Solution(sentence);

            // Act
            bool actual = solution.IsPangram();

            // Assert
            NUnit.Framework.Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public void TestPangramsSolution(string sentence, bool expected)
        {
            // Arrange
            Solutions.Strings.Pangrams.Solution solution = new Solutions.Strings.Pangrams.Solution(sentence);

            // Act
            bool actual = solution.IsPangram();

            // Assert
            NUnit.Framework.Assert.AreEqual(expected, actual);
        }