File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
pkg/web_app/test/widget/downloads_chart Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -209,13 +209,15 @@ void main() {
209209 (4.0 , 0.0 )
210210 ];
211211 final insidePoint = (1.0 , 1.0 );
212- final outsidePoint = (3 .0 , 3.0 );
212+ final outsidePoint = (2 .0 , 3.0 );
213213 final vertexPoint = (1.0 , 1.0 );
214+ final edgePoint = (1.0 , 3.0 );
214215 final outsidePointOnEdgeExtension = (3.0 , 4.0 );
215216
216217 expect (isPointInPolygon (complexPolygon, insidePoint), isTrue);
217218 expect (isPointInPolygon (complexPolygon, outsidePoint), isFalse);
218219 expect (isPointInPolygon (complexPolygon, vertexPoint), isTrue);
220+ expect (isPointInPolygon (complexPolygon, edgePoint), isFalse);
219221 expect (isPointInPolygon (complexPolygon, outsidePointOnEdgeExtension),
220222 isFalse);
221223 });
You can’t perform that action at this time.
0 commit comments