Skip to content

Commit 25cb62c

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Map/tests/Cluster/GridClusteringAlgorithmTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@ public function testPointsInDifferentGridsAreNotClustered(): void
5858
$point2 = new Point(-10.0, -20.0); // Far away
5959
$algorithm = new GridClusteringAlgorithm();
6060

61-
// High zoom
62-
// Expect two separate clusters
6361
$clusters = $algorithm->cluster([$point1, $point2], 5.0);
6462

65-
$this->assertCount(2, $clusters);
63+
$this->assertCount(2, $clusters, 'Two clusters should have created due to the high zoom value.');
6664
}
6765

6866
public function testEmptyPointsArray(): void

0 commit comments

Comments
 (0)