Example #1
0
        public void Test_Validation_True()
        {
            VowelRule rule = new VowelRule();

            Assert.True(rule.Validate("aei"));
            Assert.True(rule.Validate("aaai"));
            Assert.True(rule.Validate("afioo"));
        }
Example #2
0
        public void Test_Validation_False()
        {
            VowelRule rule = new VowelRule();

            Assert.False(rule.Validate("abb"));
            Assert.False(rule.Validate("a"));
            Assert.False(rule.Validate("beibb"));
        }