コード例 #1
0
        public void IsNotMultipleOfThreeAndFive()
        {
            var  fizzService = new FizzService();
            bool result      = fizzService.MulitpleOfThreeAndFive(9);

            Assert.False(result, "9 is not a multiple of 3 and 5");
        }
コード例 #2
0
        public void IsMultipleOfThreeAndFive()
        {
            var  fizzService = new FizzService();
            bool result      = fizzService.MulitpleOfThreeAndFive(45);

            Assert.True(result, "45 is a multiple of 3 and 5");
        }