Ejemplo n.º 1
0
        public void WhenDivisbleByFive()
        {
            var mm = new FizzBuzzByMJ.MathMethods();

            var result = mm.MathMethod(10);

            Assert.IsTrue(result == "5");
        }
Ejemplo n.º 2
0
        public void WhenDivisbleByBoth()
        {
            var mm = new FizzBuzzByMJ.MathMethods();

            var result = mm.MathMethod(15);

            Assert.IsTrue(result == "3 & 5");
        }
Ejemplo n.º 3
0
        public void WhenDivisbleByThree()
        {
            var mm = new FizzBuzzByMJ.MathMethods();

            var result = mm.MathMethod(9);

            Assert.IsTrue(result == "3");
        }