示例#1
0
        public void Request_DivisibleBy5_Buzz()
        {
            var sut = new FizzBuzzer();

            string result = sut.Request(5);

            result.ShouldBe("buzz");
        }
示例#2
0
        public void Request_NotDivisible_NullString()
        {
            var sut = new FizzBuzzer();

            string result = sut.Request(7);

            result.ShouldBe(string.Empty);
        }
示例#3
0
        public void Request_DivisibleBy3And5_FizzBuzz()
        {
            var sut = new FizzBuzzer();

            string result = sut.Request(15);

            result.ShouldBe("fizzbuzz");
        }