Sha256: 1d93dc185f7082484bba9aca0294e62d68b17ed847c69181512bb5eecb8f11e8

Contents?: true

Size: 952 Bytes

Versions: 62

Compression:

Stored size: 952 Bytes

Contents

{
  "valid": [
    {
      "input": 1234567890,
      "number": "1234567890",
      "area-code": "123",
      "pretty": "(123) 456-7890",
      "test": "10 digit integer"
    },
    {
      "input": "+1 (234) 555-6789",
      "number": "2345556789",
      "area-code": "234",
      "pretty": "(234) 555-6789",
      "test": "11 digit formatted number"
    },
    {
      "input": "1.379.555.2468",
      "number": "3795552468",
      "area-code": "379",
      "pretty": "(379) 555-2468",
      "test": "11 digit number containing separators"
    }
  ],
  "invalid": [
    {
      "input": "",
      "test": "empty input"
    },
    {
      "input": "13579",
      "test": "5 digit number"
    },
    {
      "input": "123456789011",
      "test": "12 digit number"
    },
    {
      "input": "+2 (468) 555-1379",
      "test": "11 digit number not beginning with 1"
    },
    {
      "input": "phone number",
      "test": "not a number"
    }
  ]
}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
trackler-2.0.6.36 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.35 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.34 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.33 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.32 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.31 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.30 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.29 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.28 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.27 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.26 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.25 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.24 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.23 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.22 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.21 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.20 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.19 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.18 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.6.17 tracks/perl6/exercises/phone-number/cases.json