Skip to content

Commit 3697573

Browse files
smnandreKocal
andauthored
Update src/Map/tests/Cluster/GridClusteringAlgorithmTest.php
Co-authored-by: Hugo Alliaume <hugo@alliau.me>
1 parent 25cb62c commit 3697573

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Map/tests/Cluster/GridClusteringAlgorithmTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ public function testPointsInSameGridAreClusteredTogether(): void
4040
$point2 = new Point(10.1, 20.1);
4141
$algorithm = new GridClusteringAlgorithm();
4242

43-
// Low zoom
4443
$clusters = $algorithm->cluster([$point1, $point2], 1.0);
4544

46-
$this->assertCount(1, $clusters);
45+
$this->assertCount(1, $clusters, 'One cluster should have been created due to the low zoom value.');
4746

4847
$cluster = $clusters[0];
4948

0 commit comments

Comments
 (0)