Skip to content

Commit 49e876c

Browse files
committed
update test
1 parent 68013d9 commit 49e876c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/web_app/test/widget/downloads_chart/downloads_chart_test.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)