<commit_before>require 'spec_helper'

describe Ddp do
  it 'has a version number' do
    expect(Ddp::VERSION).not_to be nil
  end

  describe "#dumper" do
    context "arguments is Hash Object" do
      it 'returns pretty string' do
        result = Ddp.dumper({test: "test"})
        expect(result).to match /Hash < Object < BasicObject {/
        expect(result).to match /included_modules:/
        expect(result).to match /inspect:/
        expect(result).not_to match /source_location:/
      end
    end

    context "arguments is Class Object" do
      it 'returns pretty string' do
        result = Ddp.dumper(self)
        expect(result).to match /Object < BasicObject {/
        expect(result).to match /included_modules:/
        expect(result).to match /inspect:/
        expect(result).not_to match /source_location:/
      end
    end

    context "arguments is Method Object" do
      it 'returns pretty string' do
        result = Ddp.dumper(Ddp.method(:p))
        expect(result).to match /Object < BasicObject {/
        expect(result).to match /included_modules:/
        expect(result).to match /inspect:/
        expect(result).to match /source_location:/
      end
    end

    context "arguments is C method Object" do
      it 'returns pretty string' do
        result = Ddp.dumper(100000.method(:abs))
        expect(result).to match /Object < BasicObject {/
        expect(result).to match /included_modules:/
        expect(result).to match /inspect:/
        expect(result).to match /source_location:/
        expect(result).to match /C method/
      end
    end
  end
end<commit_msg>removed tests<commit_after>require 'spec_helper'

describe Ddp do
  it 'has a version number' do
    expect(Ddp::VERSION).not_to be nil
  end

end
{'fraction_non_alphanumeric': 0.10130904951622083, 'fraction_numerical': 0.003414911781445646, 'mean_word_length': 2.50199203187251, 'pattern_counts': {'":': 0, '<': 8, '<?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': '4179054', 'n_tokens_mistral': 531, 'n_tokens_neox': 503, 'n_words': 155}