Skip to content

Commit 96e23ce

Browse files
authored
Update combine_ways.test.js
1 parent b22eb10 commit 96e23ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/combine_ways.test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ describe.each([
7575
'<way id="4"><nd ref="1"/><nd ref="3"/></way>',
7676
], 1, 4, 'Combining 4 open ways into 1 closed & 1 remaining open way',
7777
],
78+
[
79+
[
80+
'<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/></way>',
81+
'<way id="2"><nd ref="3"/><nd ref="1"/></way>',
82+
'<way id="3"><nd ref="3"/><nd ref="4"/><nd ref="1"/></way>',
83+
], 1, 5, 'Dealing with amiguity',
84+
],
7885
])('Combine Ways', (ways, length, nodes, description) => {
7986
test(`${description}`, () => {
8087
let parser = new window.DOMParser();

0 commit comments

Comments
 (0)