Merge pull request #9575 from BKinahan/fix/smallest-common-tests

Add test for Smallest Common Multiple
pull/9676/head
Mrugesh Mohapatra 2016-07-11 16:39:08 +05:30 committed by GitHub
commit ef49327d25
1 changed files with 2 additions and 1 deletions

View File

@ -729,7 +729,8 @@
"assert.deepEqual(typeof smallestCommons([1, 5]), 'number', 'message: <code>smallestCommons([1, 5])</code> should return a number.');",
"assert.deepEqual(smallestCommons([1, 5]), 60, 'message: <code>smallestCommons([1, 5])</code> should return 60.');",
"assert.deepEqual(smallestCommons([5, 1]), 60, 'message: <code>smallestCommons([5, 1])</code> should return 60.');",
"assert.deepEqual(smallestCommons([1, 13]), 360360, 'message: <code>smallestCommons([1, 13])</code> should return 360360.');"
"assert.deepEqual(smallestCommons([1, 13]), 360360, 'message: <code>smallestCommons([1, 13])</code> should return 360360.');",
"assert.deepEqual(smallestCommons([23, 18]), 6056820, 'message: <code>smallestCommons([23, 18])</code> should return 6056820.');"
],
"type": "bonfire",
"MDNlinks": [