    # File test/bin/test_grep.rb, line 249
            def test_puts_matched_lines_0201

                    # マッチなし

                    @string_io.string = ""
                    @obj.instance_variable_set(:@match_line_count, 0)
                    @obj.instance_eval { puts_matched_lines("abcde", []) }
                    assert_equal(0, @obj.instance_eval { @match_line_count } )
                    assert_equal("", @string_io.string)

                    # 1箇所マッチ

                    @string_io.string = ""
                    @obj.instance_variable_set(:@match_line_count, 0)
                    @obj.instance_eval { puts_matched_lines("abcde", [[0, 1]]) }
                    assert_equal(1, @obj.instance_eval { @match_line_count } )
                    assert_equal("abcde\n", @string_io.string)

                    @string_io.string = ""
                    @obj.instance_variable_set(:@match_line_count, 0)
                    @obj.instance_eval { puts_matched_lines("abcde", [[4, 5]]) }
                    assert_equal(1, @obj.instance_eval { @match_line_count } )
                    assert_equal("abcde\n", @string_io.string)

                    @string_io.string = ""
                    @obj.instance_variable_set(:@match_line_count, 0)
                    @obj.instance_eval { puts_matched_lines("abcde", [[5, 6]]) }
                    assert_equal(0, @obj.instance_eval { @match_line_count } )
                    assert_equal("", @string_io.string)

                    # 3箇所マッチ

                    @string_io.string = ""
                    @obj.instance_variable_set(:@match_line_count, 0)
                    @obj.instance_eval { puts_matched_lines("abcde", [[0, 1], [2, 3], [4, 5]]) }
                    assert_equal(1, @obj.instance_eval { @match_line_count } )
                    assert_equal("abcde\n", @string_io.string)
            end