<commit_before># frozen_string_literal: true

require 'test_helper'

describe Prawn::Emoji::Image do
  let(:emojis) { %w( 😀 © 🇯🇵 ) }

  it 'possible to find the image file' do
    emojis.each do |emoji|
      emoji_image = Prawn::Emoji::Image.new(emoji)

      assert File.exist?(emoji_image.path), "#{emoji}  not found"
    end
  end
end
<commit_msg>Add spec for Emoji::Image#path<commit_after># frozen_string_literal: true

require 'test_helper'

describe Prawn::Emoji::Image do
  describe '#path' do
    let(:emojis) { %w( 😀 © 🇯🇵 ) }

    it 'possible to find the image file' do
      emojis.each do |emoji|
        emoji_image = Prawn::Emoji::Image.new(emoji)
        assert File.exist?(emoji_image.path), "#{emoji}  not found"
      end
    end
  end

  describe '#==' do
    it { Prawn::Emoji::Image.new('🍣').must_be :==, Prawn::Emoji::Image.new('🍣') }
    it { Prawn::Emoji::Image.new('🍣').wont_be :==, Prawn::Emoji::Image.new('🐟') }
  end
end

{'fraction_non_alphanumeric': 0.167192429022082, 'fraction_numerical': 0.0, 'mean_word_length': 3.621359223300971, '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': '6694965', 'n_tokens_mistral': 392, 'n_tokens_neox': 385, 'n_words': 84}