Sha256: 06a1c0596a4f60a7f7cb8fb4ebe86f532ce23a524e06ab8127f8bd95b71f1380

Contents?: true

Size: 1.95 KB

Versions: 135

Compression:

Stored size: 1.95 KB

Contents

{
  "exercise": "sum-of-multiples",
  "version": "1.0.0",
  "cases": [
    {
      "description": "multiples of 3 or 5 up to 1",
      "property": "sum",
      "factors": [3, 5],
      "limit": 1,
      "expected": 0
    },
    {
      "description": "multiples of 3 or 5 up to 4",
      "property": "sum",
      "factors": [3, 5],
      "limit": 4,
      "expected": 3
    },
    {
      "description": "multiples of 3 or 5 up to 10",
      "property": "sum",
      "factors": [3, 5],
      "limit": 10,
      "expected": 23
    },
    {
      "description": "multiples of 3 or 5 up to 100",
      "property": "sum",
      "factors": [3, 5],
      "limit": 100,
      "expected": 2318
    },
    {
      "description": "multiples of 3 or 5 up to 1000",
      "property": "sum",
      "factors": [3, 5],
      "limit": 1000,
      "expected": 233168
    },
    {
      "description": "multiples of 7, 13 or 17 up to 20",
      "property": "sum",
      "factors": [7, 13, 17],
      "limit": 20,
      "expected": 51
    },
    {
      "description": "multiples of 4 or 6 up to 15",
      "property": "sum",
      "factors": [4, 6],
      "limit": 15,
      "expected": 30
    },
    {
      "description": "multiples of 5, 6 or 8 up to 150",
      "property": "sum",
      "factors": [5, 6, 8],
      "limit": 150,
      "expected": 4419
    },
    {
      "description": "multiples of 5 or 25 up to 51",
      "property": "sum",
      "factors": [5, 25],
      "limit": 51,
      "expected": 275
    },
    {
      "description": "multiples of 43 or 47 up to 10000",
      "property": "sum",
      "factors": [43, 47],
      "limit": 10000,
      "expected": 2203160
    },
    {
      "description": "multiples of 1 up to 100",
      "property": "sum",
      "factors": [1],
      "limit": 100,
      "expected": 4950
    },
    {
      "description": "multiples of an empty list up to 10000",
      "property": "sum",
      "factors": [],
      "limit": 10000,
      "expected": 0
    }
  ]
}

Version data entries

135 entries across 135 versions & 1 rubygems

Version Path
trackler-2.2.1.34 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.33 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.32 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.31 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.30 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.29 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.28 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.27 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.26 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.25 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.24 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.23 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.22 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.21 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.20 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.19 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.18 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.17 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.16 problem-specifications/exercises/sum-of-multiples/canonical-data.json
trackler-2.2.1.15 problem-specifications/exercises/sum-of-multiples/canonical-data.json