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.5.15 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.14 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.13 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.12 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.11 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.10 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.9 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.8 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.7 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.6 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.5 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.4 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.3 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.2 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.1 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.5.0 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.4.0 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.3.9 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.3.8 tracks/perl6/exercises/phone-number/cases.json
trackler-2.0.3.7 tracks/perl6/exercises/phone-number/cases.json