Skip to content

Comments

r.slope.aspect: Increase precision of values compared in tests#5796

Merged
echoix merged 11 commits intoOSGeo:mainfrom
echoix:gsag-to-ascii
May 30, 2025
Merged

r.slope.aspect: Increase precision of values compared in tests#5796
echoix merged 11 commits intoOSGeo:mainfrom
echoix:gsag-to-ascii

Conversation

@echoix
Copy link
Member

@echoix echoix commented May 30, 2025

Follow-up from #5792.

This PR uses a smaller delta for the differences accepted between actual and reference values. The current tests were quite loose, and would probably not help us catch regressions unless the differences were huge. Since it is mostly a golden test, we want to know when anything changes.

@echoix echoix requested a review from marisn May 30, 2025 01:52
@github-actions github-actions bot added raster Related to raster data processing Python Related code is in Python module tests Related to Test Suite labels May 30, 2025
Copy link
Member Author

@echoix echoix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that the message could be different, I tried something else

@marisn marisn self-requested a review May 30, 2025 18:57
@echoix echoix merged commit d7e7f8d into OSGeo:main May 30, 2025
24 checks passed
@echoix echoix deleted the gsag-to-ascii branch May 30, 2025 19:05
@github-actions github-actions bot added this to the 8.5.0 milestone May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module Python Related code is in Python raster Related to raster data processing tests Related to Test Suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants