Sha256: 21f1c9764bf0fbd155e0fff699b6cd0fac75268745f22087ee4eef46dea845ed

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

require File.dirname(__FILE__) + '/../../../helper'
require 'test/unit'
require 'jinx/helpers/string_uniquifier'

class StringUniquifierTest < Test::Unit::TestCase
  def test_uniquify
    u1 = Jinx::StringUniquifier.uniquify('Groucho')
    u2 = Jinx::StringUniquifier.uniquify('Groucho')
    assert_not_equal(u1, u2, "Consecutive uniquifier calls not unique")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jinx-2.1.4 test/lib/jinx/helpers/string_uniquifier_test.rb
jinx-2.1.3 test/lib/jinx/helpers/string_uniquifier_test.rb