[GRASS-SVN] r66733 - in grass/trunk/temporal: t.rast.to.rast3/testsuite t.rast3d.univar/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 4 02:00:25 PST 2015
Author: huhabla
Date: 2015-11-04 02:00:25 -0800 (Wed, 04 Nov 2015)
New Revision: 66733
Modified:
grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py
grass/trunk/temporal/t.rast3d.univar/testsuite/test_univar.py
Log:
temporal modules: Fixed some tests
Modified: grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py
===================================================================
--- grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py 2015-11-04 08:58:13 UTC (rev 66732)
+++ grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py 2015-11-04 10:00:25 UTC (rev 66733)
@@ -161,22 +161,6 @@
self.assertModule("t.rast.to.rast3", input="precip_f", output="precip_f")
self.assertModule("t.rast.to.rast3", input="precip_d", output="precip_d")
- univar_string="""n=480
- null_cells=96
- cells=576
- min=100
- max=600
- range=500
- mean=360
- mean_of_abs=360
- stddev=185.472369909914
- variance=34400
- coeff_var=51.5201027527539
- sum=172800"""
-
- univar = SimpleModule("r3.univar", flags="g", map="precip_i")
- self.assertModuleKeyValue(module=univar, reference=univar_string, precision=2, sep="=")
-
tinfo_string="""north=80
south=0
east=120
Modified: grass/trunk/temporal/t.rast3d.univar/testsuite/test_univar.py
===================================================================
--- grass/trunk/temporal/t.rast3d.univar/testsuite/test_univar.py 2015-11-04 08:58:13 UTC (rev 66732)
+++ grass/trunk/temporal/t.rast3d.univar/testsuite/test_univar.py 2015-11-04 10:00:25 UTC (rev 66733)
@@ -11,6 +11,7 @@
from grass.gunittest.case import TestCase
from grass.gunittest.gmodules import SimpleModule
+
class TestRasterUnivar(TestCase):
@classmethod
More information about the grass-commit
mailing list