1.3 KiB
1.3 KiB
title | id | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
Deal cards for FreeCell | 59694356a6e7011f7f1c5f4e | 5 |
Description
undefined
Instructions
undefined
Tests
tests:
- text: ''
testString: 'assert(typeof dealFreeCell === "function", "<code>dealFreeCell</code> is a function.");'
- text: ''
testString: 'assert(typeof dealFreeCell(1) === "object", "<code>dealFreeCell(seed)</code> should return an object.");'
- text: ''
testString: 'assert(dealFreeCell(1).length === 7, "<code>dealFreeCell(seed)</code> should return an array of length 7.");'
- text: ''
testString: 'assert.deepEqual(dealFreeCell(1), game1, "<code>dealFreeCell(1)</code> should return an array identical to example "Game #1"");'
- text: ''
testString: 'assert.deepEqual(dealFreeCell(617), game617, "<code>dealFreeCell(617)</code> should return an array identical to example "Game #617"");'
Challenge Seed
function dealFreeCell (seed) {
// Good luck!
return true;
}
After Test
console.info('after the test');
Solution
// solution required