From fab7832deedb322d68c6270abc136c45a64cfae7 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 10 Aug 2017 18:16:53 +0200 Subject: [PATCH] added ascii art for polygons count test --- test/acceptance/widgets/regressions.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/acceptance/widgets/regressions.js b/test/acceptance/widgets/regressions.js index f3ab3aa8..1527c8ae 100644 --- a/test/acceptance/widgets/regressions.js +++ b/test/acceptance/widgets/regressions.js @@ -220,6 +220,16 @@ describe('widgets-regressions', function() { it('should not count the polygons outside the bounding box', function(done) { + + // $ % $ = not intersecting left triangle + // $$ **VVVVV** %% % = not intersecting right triangle + // $$$ *VVVVV* %%% * = intersecting triangle + // $$$$ ***** %%%% V = bounding box + // $$$$$ *** %%%%% + // $$$$$$ * %%%%%% + // $$$$$$$ %%%%%%% + // $$$$$$$$ %%%%%%%% + var notIntersectingLeftTriangle = { type: "Polygon", coordinates:[[