예제 #1
0
        public void Multiples_of_three_print_Fizz()
        {
            var fizzRule = new FizzRule();

            Assert.True(fizzRule.Applies(3));
            Assert.True(fizzRule.Applies(6));
            Assert.True(fizzRule.Applies(99));
        }
예제 #2
0
        public void Multiples_of_three_print_Fizz()
        {
            var fizzRule = new FizzRule();

            Assert.True(fizzRule.Applies(3));
            Assert.True(fizzRule.Applies(6));
            Assert.True(fizzRule.Applies(99));
        }
예제 #3
0
        public void No_Multiples_of_three_print_not_Fizz()
        {
            var fizzRule = new FizzRule();

            Assert.False(fizzRule.Applies(4));
            Assert.False(fizzRule.Applies(7));
            Assert.False(fizzRule.Applies(77));
        }
예제 #4
0
        public void No_Multiples_of_three_print_not_Fizz()
        {
            var fizzRule = new FizzRule();

            Assert.False(fizzRule.Applies(4));
            Assert.False(fizzRule.Applies(7));
            Assert.False(fizzRule.Applies(77));
        }