예제 #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);
        }