[GRASS-git] [OSGeo/grass-addons] 6a3492: r.centroids: Add pytest suite (#1786)

Christian Braun noreply at github.com
Wed Jul 15 08:22:32 PDT 2026


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 6a3492de1ebb92beebe73761d8b49f5a645a3a93
      https://github.com/OSGeo/grass-addons/commit/6a3492de1ebb92beebe73761d8b49f5a645a3a93
  Author: Christian Braun <christian.braun1980 at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    A src/raster/r.centroids/tests/conftest.py
    A src/raster/r.centroids/tests/r_centroids_test.py

  Log Message:
  -----------
  r.centroids: Add pytest suite (#1786)

Adds a pytest suite under tests/ for r.centroids (alongside the existing testsuite which has real-word data with reference values while this test tests more the analytically derived results).

Covers: centroid count per clump (background excluded), removal of r.volume's extra columns, overwrite protection, and centroid location within its source clump extent.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list