Exemple #1
0
        public void TestUsingRegEx(string input, int expected)
        {
            // Arrange
            var sut = new FindTheVowels();

            // Act
            var actual = sut.ExecuteRegEx(input);

            // Assert
            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void TestEnumeratingInput(string input, int expected)
        {
            // Arrange
            var sut = new FindTheVowels();

            // Act
            var actual = sut.ExecuteEnumerating(input);

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