Sha256: 6f3d8096d882d5010b91900cb5b48e9e378a3a073e75ef7444990a640f109dff

Contents?: true

Size: 1.5 KB

Versions: 87

Compression:

Stored size: 1.5 KB

Contents

{
  "exercise": "space-age",
  "version": "1.1.0",
  "cases": [
    {
      "description": "age on Earth",
      "property": "age",
      "input": {
        "planet": "Earth",
        "seconds": 1000000000
      },
      "expected": 31.69
    },
    {
      "description": "age on Mercury",
      "property": "age",
      "input": {
        "planet": "Mercury",
        "seconds": 2134835688
      },
      "expected": 280.88
    },
    {
      "description": "age on Venus",
      "property": "age",
      "input": {
        "planet": "Venus",
        "seconds": 189839836
      },
      "expected": 9.78
    },
    {
      "description": "age on Mars",
      "property": "age",
      "input": {
        "planet": "Mars",
        "seconds": 2329871239
      },
      "expected": 39.25
    },
    {
      "description": "age on Jupiter",
      "property": "age",
      "input": {
        "planet": "Jupiter",
        "seconds": 901876382
      },
      "expected": 2.41
    },
    {
      "description": "age on Saturn",
      "property": "age",
      "input": {
        "planet": "Saturn",
        "seconds": 3000000000
      },
      "expected": 3.23
    },
    {
      "description": "age on Uranus",
      "property": "age",
      "input": {
        "planet": "Uranus",
        "seconds": 3210123456
      },
      "expected": 1.21
    },
    {
      "description": "age on Neptune",
      "property": "age",
      "input": {
        "planet": "Neptune",
        "seconds": 8210123456
      },
      "expected": 1.58
    }
  ]
}

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
trackler-2.2.1.180 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.179 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.178 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.177 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.176 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.175 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.174 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.173 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.172 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.171 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.170 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.169 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.167 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.166 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.165 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.164 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.163 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.162 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.161 problem-specifications/exercises/space-age/canonical-data.json
trackler-2.2.1.160 problem-specifications/exercises/space-age/canonical-data.json