<commit_before>require File.dirname(__FILE__) + '/../../../spec_helper'
require File.dirname(__FILE__) + '/shared/log10'

ruby_version_is ""..."1.9" do
  describe "Math#log10" do
    it_behaves_like :complex_math_log10, :_, IncludesMath.new

    it "should be private" do
      IncludesMath.should have_private_instance_method(:log10)
    end
  end

  describe "Math#log10!" do
    it_behaves_like :complex_math_log10_bang, :_, IncludesMath.new

    it "should be private" do
      IncludesMath.should have_private_instance_method(:log10!)
    end
  end

  describe "Math.log10" do
    it_behaves_like :complex_math_log10, :_, Math
  end

  describe "Math.log10!" do<commit_msg>Math.log10 (+ 'complex'): Share btw. 1.8 and 1.9<commit_after>require File.dirname(__FILE__) + '/../../../spec_helper'
require 'complex'
require File.dirname(__FILE__) + '/shared/log10'

describe "Math#log10" do
  it_behaves_like :complex_math_log10, :_, IncludesMath.new

  it "should be private" do
    IncludesMath.should have_private_instance_method(:log10)
  end
end

ruby_version_is ""..."1.9" do
  describe "Math#log10!" do
    it_behaves_like :complex_math_log10_bang, :_, IncludesMath.new

    it "should be private" do
      IncludesMath.should have_private_instance_method(:log10!)
    end
  end
end

describe "Math.log10" do
  it_behaves_like :complex_math_log10, :_, Math
end

ruby_version_is ""..."1.9" do
  describe "Math.log10!" do
{'fraction_non_alphanumeric': 0.12070175438596491, 'fraction_numerical': 0.036491228070175435, 'mean_word_length': 4.129496402877698, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5982139', 'n_tokens_mistral': 537, 'n_tokens_neox': 495, 'n_words': 109}