Beispiel #1
0
        public void WhenDivisbleByFive()
        {
            var mm = new FizzBuzzByMJ.MathMethods();

            var result = mm.MathMethod(10);

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

            var result = mm.MathMethod(15);

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

            var result = mm.MathMethod(9);

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