@@ -77,10 +77,10 @@ test('Longest side angle', () => {
7777} ) ;
7878
7979describe . 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