Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
WestCoastSwing
/
RelativePlacement
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
915a7f71
...
915a7f71b4b9a6959a10937dfcf395c561742ebf
authored
2016-12-07 01:40:42 +0100
by
Vincent Peybernes
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
#10
Error in new test 20x9
1 parent
b9697822
Pipeline
#19
for
915a7f71
passed
in 57 seconds
Changes
2
Pipelines
1
Builds
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
lib/relative-placement.js
tests/node/RelativePlacementSpec.js
lib/relative-placement.js
View file @
915a7f7
...
...
@@ -178,7 +178,6 @@
return
0
;
});
result
=
result
.
concat
(
proposed
.
map
(
candidate
=>
candidate
.
name
));
cursor
=
result
.
length
;
proposed
.
splice
(
0
);
continue
;
}
...
...
tests/node/RelativePlacementSpec.js
View file @
915a7f7
...
...
@@ -19,6 +19,7 @@ describe('RelativePlacement algo', () => {
(
testData
,
id
)
=>
{
testData
.
id
=
id
;
it
(
'#'
+
id
+
': '
+
(
testData
.
comment
||
''
),
()
=>
{
id
;
var
votes
=
compileVotes
(
testData
);
var
result
=
relativePlacement
(
votes
);
...
...
Please
register
or
sign in
to post a comment