#10 Error in new test 20x9
Showing
2 changed files
with
1 additions
and
1 deletions
... | @@ -178,7 +178,6 @@ | ... | @@ -178,7 +178,6 @@ |
178 | return 0; | 178 | return 0; |
179 | }); | 179 | }); |
180 | result = result.concat(proposed.map(candidate => candidate.name)); | 180 | result = result.concat(proposed.map(candidate => candidate.name)); |
181 | cursor = result.length; | ||
182 | proposed.splice(0); | 181 | proposed.splice(0); |
183 | continue; | 182 | continue; |
184 | } | 183 | } | ... | ... |
... | @@ -19,6 +19,7 @@ describe('RelativePlacement algo', () => { | ... | @@ -19,6 +19,7 @@ describe('RelativePlacement algo', () => { |
19 | (testData,id) => { | 19 | (testData,id) => { |
20 | testData.id = id; | 20 | testData.id = id; |
21 | it('#'+id+': '+(testData.comment||''), ()=>{ | 21 | it('#'+id+': '+(testData.comment||''), ()=>{ |
22 | id; | ||
22 | var votes = compileVotes(testData); | 23 | var votes = compileVotes(testData); |
23 | 24 | ||
24 | var result = relativePlacement(votes); | 25 | var result = relativePlacement(votes); | ... | ... |
-
Please register or sign in to post a comment