<commit_before>require 'spec_helper'
require_relative '../lib/equal＿to.rb'
require_relative '../lib/constant.rb'


describe 'EqualTo' do
  it "new" do
    eq1 = EqualTo.new(Constant.new(1),Constant.new(1))
    expect(eq1).to_not be_nil
    eq2 = EqualTo.new(Constant.new(1),Constant.new(2))
    expect(eq2).to_not be_nil
  end

  it "to_s" do
    eq1 = EqualTo.new(Constant.new(1),Constant.new(1))
    expect(eq1.to_s.length).to be >= 0
    eq2 = EqualTo.new(Constant.new(1),Constant.new(2))
    expect(eq2.to_s.length).to be >= 0
  end

  it "exec" do
    eq1 = EqualTo.new(Constant.new(1),Constant.new(1))
    expect(eq1.exec).to be_truthy
    eq2 = EqualTo.new(Constant.new(1),Constant.new(2))
    expect(eq2.exec).to be_falsey
  end
end
<commit_msg>Update equal_to_spec.rb<commit_after>require 'spec_helper'
require_relative '../lib/equal_to.rb'
require_relative '../lib/constant.rb'


describe 'EqualTo' do
  it "new" do
    eq1 = EqualTo.new(Constant.new(1),Constant.new(1))
    expect(eq1).to_not be_nil
    eq2 = EqualTo.new(Constant.new(1),Constant.new(2))
    expect(eq2).to_not be_nil
  end

  it "to_s" do
    eq1 = EqualTo.new(Constant.new(1),Constant.new(1))
    expect(eq1.to_s.length).to be >= 0
    eq2 = EqualTo.new(Constant.new(1),Constant.new(2))
    expect(eq2.to_s.length).to be >= 0
  end

  it "exec" do
    eq1 = EqualTo.new(Constant.new(1),Constant.new(1))
    expect(eq1.exec).to be_truthy
    eq2 = EqualTo.new(Constant.new(1),Constant.new(2))
    expect(eq2.exec).to be_falsey
  end
end

{'fraction_non_alphanumeric': 0.16094986807387862, 'fraction_numerical': 0.03430079155672823, 'mean_word_length': 3.696594427244582, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4893317', 'n_tokens_mistral': 636, 'n_tokens_neox': 612, 'n_words': 97}