<commit_before>require File.expand_path(File.dirname(__FILE__) + '/test_helper')

class OrderedHashTestInt < Test::Unit::TestCase
  def setup
    @keys =   %w( blue   green  red    pink   orange )
    @values = %w( 000099 009900 aa0000 cc0066 cc6633 )
    @hash = Hash.new
    @ordered_hash = Cassandra::OrderedHashInt.new

    @keys.each_with_index do |key, index|
      @hash[key] = @values[index]
      @ordered_hash[key] = @values[index]
    end<commit_msg>made OrderedHash tests use new child class<commit_after>require File.expand_path(File.dirname(__FILE__) + '/test_helper')

class OrderedHashTestInt < Test::Unit::TestCase
  def setup
    @keys =   %w( blue   green  red    pink   orange )
    @values = %w( 000099 009900 aa0000 cc0066 cc6633 )
    @hash = Hash.new
    @ordered_hash = Cassandra::OrderedHash.new

    @keys.each_with_index do |key, index|
      @hash[key] = @values[index]
      @ordered_hash[key] = @values[index]
    end
{'fraction_non_alphanumeric': 0.1160337552742616, 'fraction_numerical': 0.05063291139240506, 'mean_word_length': 3.5845410628019323, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1430196', 'n_tokens_mistral': 358, 'n_tokens_neox': 321, 'n_words': 75}