示例#1
0
        public void ReturnsTheNumberIfNotDivisibleBy3Or5()
        {
            var kata = new FizzBuzz();

            var result = kata.Answer(1);

            Assert.AreEqual("1", result);
        }
示例#2
0
        public void ReturnsFizzIfDivisibleBy3()
        {
            var kata = new FizzBuzz();

            var result = kata.Answer(3);

            Assert.AreEqual("fizz", result);
        }