[GRASS-SVN] r71863 - grass/trunk/raster/r.fill.stats/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 28 06:40:43 PST 2017
Author: annakrat
Date: 2017-11-28 06:40:43 -0800 (Tue, 28 Nov 2017)
New Revision: 71863
Modified:
grass/trunk/raster/r.fill.stats/testsuite/test_r_fill_stats.py
Log:
r.fill.stats: fix test
Modified: grass/trunk/raster/r.fill.stats/testsuite/test_r_fill_stats.py
===================================================================
--- grass/trunk/raster/r.fill.stats/testsuite/test_r_fill_stats.py 2017-11-28 14:28:49 UTC (rev 71862)
+++ grass/trunk/raster/r.fill.stats/testsuite/test_r_fill_stats.py 2017-11-28 14:40:43 UTC (rev 71863)
@@ -30,13 +30,13 @@
def test_stats(self):
"""Test if results match verified rasters"""
- self.assertModule('r.fill.gaps', input=self.ascii, output=self.stats, distance=1, mode='wmean', power=2, cells=2, overwrite=True)
+ self.assertModule('r.fill.stats', input=self.ascii, output=self.stats, distance=1, mode='wmean', power=2, cells=2, overwrite=True)
self.assertRastersNoDifference(self.stats, self.wmean, precision=1e-6)
- self.assertModule('r.fill.gaps', input=self.ascii, output=self.stats, distance=1, mode='mean', power=2, cells=2, overwrite=True)
+ self.assertModule('r.fill.stats', input=self.ascii, output=self.stats, distance=1, mode='mean', power=2, cells=2, overwrite=True)
self.assertRastersNoDifference(self.stats, self.mean, precision=1e-6)
- self.assertModule('r.fill.gaps', input=self.ascii, output=self.stats, distance=1, mode='median', power=2, cells=2, overwrite=True)
+ self.assertModule('r.fill.stats', input=self.ascii, output=self.stats, distance=1, mode='median', power=2, cells=2, overwrite=True)
self.assertRastersNoDifference(self.stats, self.median, precision=1e-6)
- self.assertModule('r.fill.gaps', input=self.ascii, output=self.stats, distance=1, mode='mode', power=2, cells=2, overwrite=True)
+ self.assertModule('r.fill.stats', input=self.ascii, output=self.stats, distance=1, mode='mode', power=2, cells=2, overwrite=True)
self.assertRastersNoDifference(self.stats, self.mode, precision=1e-6)
if __name__ == '__main__':
More information about the grass-commit
mailing list