Sha256: c8263a84ef63b97a18748a9c2931affe2ef4b63e097198d942573c82f83a5d64
Contents?: true
Size: 1.6 KB
Versions: 106
Compression:
Stored size: 1.6 KB
Contents
{ "exercise": "armstrong-numbers", "version": "1.0.0", "cases": [ { "description": "Single digit numbers are Armstrong numbers", "property": "isArmstrongNumber", "input": { "number": 5 }, "expected": true }, { "description": "There are no 2 digit Armstrong numbers", "property": "isArmstrongNumber", "input": { "number": 10 }, "expected": false }, { "description": "Three digit number that is an Armstrong number", "property": "isArmstrongNumber", "input": { "number": 153 }, "expected": true }, { "description": "Three digit number that is not an Armstrong number", "property": "isArmstrongNumber", "input": { "number": 100 }, "expected": false }, { "description": "Four digit number that is an Armstrong number", "property": "isArmstrongNumber", "input": { "number": 9474 }, "expected": true }, { "description": "Four digit number that is not an Armstrong number", "property": "isArmstrongNumber", "input": { "number": 9475 }, "expected": false }, { "description": "Seven digit number that is an Armstrong number", "property": "isArmstrongNumber", "input": { "number": 9926315 }, "expected": true }, { "description": "Seven digit number that is not an Armstrong number", "property": "isArmstrongNumber", "input": { "number": 9926314 }, "expected": false } ] }
Version data entries
106 entries across 106 versions & 1 rubygems