You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_emoji_breaks.rb
    path of file: ./repos/truffleruby/test/mri/tests/ruby/enc
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
# Copyright © 2018 Martin J. Dürst (duerst@it.aoyama.ac.jp)

require "test/unit"

class TestEmojiBreaks < Test::Unit::TestCase
  class BreakTest
    attr_reader :string, :comment, :filename, :line_number, :type, :shortname

    def initialize(filename, line_number, data, comment='')
      @filename =
    
    def test_mixed_emoji
      srand 0
      length = all_tests.length
      step =  503 # use a prime number
      all_tests.each do |test1|
        start = rand step
        start.step(by: step, to: length-1) do |t2|
          test2 = all_tests[t2]
          # exclude skin tones, because they glue to previous grapheme clusters
          next  if (0x1F3FB..0x1F3FF).include? test2.string.ord
          expected = [test1.string, test2.string]
          actual = (test1.string+test2.string).each_grapheme_cluster.to_a
          assert_equal expected, actual,
            "file1: #{test1.filename}, line1 #{test1.line_number}, " +
            "file2: #{test2.filename}, line2 #{test2.line_number},\n" +
            "type1: #{test1.type}, shortname1: #{test1.shortname}, comment1: #{test1.comment},\n" +
            "type2: #{test2.type}, shortname2: #{test2.shortname}, comment2: #{test2.comment}"
        end
      end
    end