Skip to content

Commit 471e601

Browse files
authored
Update utils.test.js
1 parent cb5ae7b commit 471e601

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/utils.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ test('Longest side angle', () => {
7777
});
7878

7979
describe.each([
80-
['<way id="1"><nd ref="1"/><nd ref="2"/></way>', false, 'open non-intersecting'],
81-
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="1"/></way>', false, 'closed non-intersecting'],
82-
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="2"/></way>', true, 'open intersecting'],
83-
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="4"/><nd ref="3"/><nd ref="1"/></way>', true, 'closed intersecting'],
80+
['<way id="1"><nd ref="1"/><nd ref="2"/></way>', false, 'open non-intersecting'],
81+
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="1"/></way>', false, 'closed non-intersecting'],
82+
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="2"/></way>', true, 'open intersecting'],
83+
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="4"/><nd ref="3"/><nd ref="1"/></way>', true, 'closed intersecting'],
8484
])('isSelfIntersecting', (way, expected, description) => {
8585
test(`${description}`, () => {
8686
let parser = new window.DOMParser();

0 commit comments

Comments
 (0)