Skip to content

Commit 99a550a

Browse files
committed
comment on what the new decimation test really cares about
1 parent 10c62aa commit 99a550a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/jasmine/tests/scatter_test.js

+5
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,9 @@ describe('Test scatter', function() {
489489
[-822, 20], [-802, 2], [-801.5, 1.1], [-800, 0],
490490
[900, 0], [901.5, 1.1], [902, 2], [922, 20]
491491
], [
492+
// all that's really important here (and the next check) is that
493+
// the points [-800, 0] and [900, 0] are connected. What we do
494+
// with other points beyond those doesn't matter too much.
492495
[-822, 20], [-800, 0],
493496
[900, 0], [922, 20]
494497
]);
@@ -506,6 +509,8 @@ describe('Test scatter', function() {
506509
[-801, 925], [-800, 902], [-800.5, 901.1], [-800, 900],
507510
[900, -800], [900.5, -801.1], [900, -802], [901, -825]
508511
], [
512+
// similarly here, we just care that
513+
// [-800, 900] connects to [900, -800]
509514
[-801, 925], [-800, 900],
510515
[900, -800], [901, -825]
511516
]);

0 commit comments

Comments
 (0)