Sha256: 3a44a310f43ef7265251d45b6617771570493fd71fd753c1db436938f8d79ef3

Contents?: true

Size: 398 Bytes

Versions: 31

Compression:

Stored size: 398 Bytes

Contents

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

## Iran
class IRTest < Phonie::TestCase
  def test_local
    parse_test('982188686344', '98', '21', '88686344', "Iran, Islamic Republic Of", false)
    parse_test('985218868634', '98', '521', '8868634')
  end

  def test_mobile
    parse_test('989188686344', '98', '918', '8686344', "Iran, Islamic Republic Of", true)
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
phonie-3.3.1 test/countries/ir_test.rb
phonie-3.2.2 test/countries/ir_test.rb
phonie-3.2.1 test/countries/ir_test.rb
phonie-3.2.0 test/countries/ir_test.rb
phonie-3.1.15 test/countries/ir_test.rb
phonie-3.1.14 test/countries/ir_test.rb
phonie-3.1.13 test/countries/ir_test.rb
phonie-3.1.12 test/countries/ir_test.rb
phonie-3.1.11 test/countries/ir_test.rb
phonie-3.1.10 test/countries/ir_test.rb
phonie-3.1.9 test/countries/ir_test.rb
phonie-3.1.8 test/countries/ir_test.rb
phonie-3.1.7 test/countries/ir_test.rb
phonie-3.1.6 test/countries/ir_test.rb
phonie-3.1.5 test/countries/ir_test.rb
phonie-3.1.4 test/countries/ir_test.rb
phonie-3.1.3 test/countries/ir_test.rb
phonie-3.1.2 test/countries/ir_test.rb
phonie-3.1.1 test/countries/ir_test.rb
phonie-3.1.0 test/countries/ir_test.rb