[GRASS-git] [OSGeo/grass] ce2054: r.colors.stddev: add tests (#7487)

Valyrian-Code noreply at github.com
Thu Jun 4 17:28:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: ce205410a77c182c3e6b40881c8de6714f1b7e61
      https://github.com/OSGeo/grass/commit/ce205410a77c182c3e6b40881c8de6714f1b7e61
  Author: Rajveer* <irajveer.bishnoi2310 at gmail.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    A scripts/r.colors.stddev/tests/r_colors_stddev_test.py

  Log Message:
  -----------
  r.colors.stddev: add tests (#7487)

r.colors.stddev had no test coverage. Add a pytest module that builds a raster with a known mean and standard deviation and checks the resulting color table: default mode places white at the mean and blue/red at mean -/+ two standard deviations, and banded mode (-b) centers the green band on mean -/+ one standard deviation.



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


More information about the grass-commit mailing list