コード例 #1
0
        public void Should_Return_Buzz()
        {
            var fizzBuzz   = new FizzBuzz();
            int validInt   = 5;
            int invalidInt = 3;

            bool validResult   = fizzBuzz.Buzz(validInt);
            bool invalidResult = fizzBuzz.Buzz(invalidInt);

            Assert.AreEqual(true, validResult);
            Assert.AreEqual(false, invalidResult);
        }