예제 #1
0
        public void Should_return_input_when_input_is_not_divisible(int input)
        {
            var result = new FizzBuzzUk();
            var r      = result.Print(input);

            r.ShouldBe(input.ToString());
        }
예제 #2
0
        public void Should_return_string_when_number_divisible_by_input(int input, string output)
        {
            var result = new FizzBuzzUk();
            var r      = result.Print(input);

            r.ShouldBe(output);
        }