Sha256: cb1cfe6cc7c5cbea47a918b81a40b028b2d3c79a072f32c2a5de4398ccc56fea

Contents?: true

Size: 674 Bytes

Versions: 5

Compression:

Stored size: 674 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../test_helper')

## Korea, Republic of 
class KRTest < Phonie::TestCase
  def test_local
    parse_test('+8223123456',  '82', '2',  '3123456', 'Korea, Republic of', false)
    parse_test('+8221234567',  '82', '2',  '1234567', 'Korea, Republic of', false)
    parse_test('+82333123456', '82', '33', '3123456', 'Korea, Republic of', false)
    parse_test('+82643123456', '82', '64', '3123456', 'Korea, Republic of', false)
  end

  def test_mobile
    parse_test('+82103123456', '82', '10', '3123456', 'Korea, Republic of', true)
    parse_test('+82193123456', '82', '19', '3123456', 'Korea, Republic of', true)
  end
end 

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phonie-2.1.0 test/countries/kr_test.rb
phonie-2.0.2 test/countries/kr_test.rb
phonie-2.0.1 test/countries/kr_test.rb
phonie-2.0.0 test/countries/kr_test.rb
phonie-1.0.4 test/countries/kr_test.rb