Ejemplo n.º 1
0
        public void RemovingRule()
        {
            FizzBuzz fizzBuzz = new FizzBuzz();

            fizzBuzz.AddRule(18, "Banana");
            fizzBuzz.RemoveRuleFor(18);

            Assert.AreEqual(false, fizzBuzz.IsRuleExistsFor(18));
        }