Exemple #1
0
        public void divisiblebyfive()
        {
            FizzBuzzConverter FB = new FizzBuzzConverter();
            int    input         = 5;
            string output        = FB.Implementation(input);

            Assert.AreEqual("Buzz", output);
        }
Exemple #2
0
        public void DivisibleByThree()
        {
            FizzBuzzConverter FB = new FizzBuzzConverter();
            int    input         = 3;
            string output        = FB.Implementation(input);

            Assert.AreEqual("Fizz", output);
        }
Exemple #3
0
        public void notdivisblebythreeorfive()
        {
            FizzBuzzConverter FB = new FizzBuzzConverter();
            int input            = 7;

            string output = FB.Implementation(input);

            Assert.AreEqual("7", output);
        }