Sha256: f1606f6d08dbe73d06199c1fa92e9dce96b9773f609c9508b2d9222d85d02bf2

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

require 'test_helper'

module Europe
  module Countries
    # CountryTest
    class CountryTest < Minitest::Test
      include Benchmark

      def test_country_by_name
        reversed_hash =
          Europe::Countries::Reversed.generate(:name)
        assert_equal reversed_hash['Netherlands'], :NL
        assert_equal reversed_hash['Ireland'], :IE
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
europe-0.0.4 test/europe/countries/country_test.rb
europe-0.0.3 test/europe/countries/country_test.rb