Sha256: 0b27ab41c2c372956a2e1eafcdd5329b13563edbb63ac34b41bf087f13e75b4e

Contents?: true

Size: 919 Bytes

Versions: 9

Compression:

Stored size: 919 Bytes

Contents

{
   "cases": [
      {
         "description": "leap year in twentieth century",
         "input": 1996,
         "expected": true
      },
      {
         "description": "odd standard year in twentieth century",
         "input": 1997,
         "expected": false
      },
      {
         "description": "even standard year in twentieth century",
         "input": 1998,
         "expected": false
      },
      {
         "description": "standard year in nineteenth century",
         "input": 1900,
         "expected": false
      },
      {
         "description": "standard year in eighteenth century",
         "input": 1800,
         "expected": false
      },
      {
         "description": "leap year twenty four hundred",
         "input": 2400,
         "expected": true
      },
      {
         "description": "leap year two thousand",
         "input": 2000,
         "expected": true
      }
   ]
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trackler-2.0.3.5 common/exercises/leap/canonical-data.json
trackler-2.0.3.4 common/exercises/leap/canonical-data.json
trackler-2.0.3.3 common/exercises/leap/canonical-data.json
trackler-2.0.3.2 common/exercises/leap/canonical-data.json
trackler-2.0.3.1 common/exercises/leap/canonical-data.json
trackler-2.0.3.0 common/exercises/leap/canonical-data.json
trackler-2.0.2.0 common/exercises/leap/canonical-data.json
trackler-2.0.1.2 common/exercises/leap/canonical-data.json
trackler-2.0.1.1 common/exercises/leap/canonical-data.json