Sha256: b933edb8d524e9e21bc749148d11d6af9c2d9402fda551c7002f1e3af1e188de

Contents?: true

Size: 480 Bytes

Versions: 5

Compression:

Stored size: 480 Bytes

Contents

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

## Germany
class DETest < Test::Unit::TestCase

  def test_local
    parse_test('+49 714 1605832', '49', '714', '1605832')
  end
  
  def test_mobile
    parse_test('+49 162 3499558', '49', '162', '3499558')
  end  
  
  # TODO: germany has 2-5 length area codes, that's why this test doesn't go through
  #def test_country_side
  #  parse_test('+49 (0)6120 59511-23', '49', '6120', '5951123')
  #end  
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phone-1.2.3 test/countries/de_test.rb
phone-1.2.2 test/countries/de_test.rb
phone-1.2.1 test/countries/de_test.rb
phone-1.1 test/countries/de_test.rb
phone-1.0 test/countries/de_test.rb