예제 #1
0
        public void Test_CountVocalsConsonants_WhenStringContainsDigits()
        {
            (int, int)count = StringOperations.CountVocalsConsonants("Four Words Seventeen Consonant 0123");

            Assert.Equal(17, count.Item2);
            Assert.Equal(10, count.Item1);
        }
예제 #2
0
        public void Test_CountConsonants()
        {
            (int, int)count = StringOperations.CountVocalsConsonants("Four Words Seventeen Consonant");

            Assert.Equal(17, count.Item2);
        }