[GRASS-SVN] r64884 - grass/trunk/raster/r.mapcalc/testsuite

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 18 13:31:31 PDT 2015


Author: wenzeslaus
Date: 2015-03-18 13:31:31 -0700 (Wed, 18 Mar 2015)
New Revision: 64884

Modified:
   grass/trunk/raster/r.mapcalc/testsuite/test_r_mapcalc.py
Log:
r.mapcalc: new reference data for test generated using new seed implementation (r64709)

As noted in grass-dev 'r.mapcalc random result different on MS Windows with same seed' (http://lists.osgeo.org/pipermail/grass-dev/2015-February/074134.html) r64709 changes the results for rand in r.mapcalc when CELL (integer) type raster is generated and although the implementation is still not perfect, it should work on most common platforms.

This result was generated on 64bit GNU/Linux but should also work on 64bit MS Windows with 32bit GRASS GIS. No further changes should be necessary after r64709. (r.mapcalc random results are expected to be consitent across different platfroms since r61353 and r61350.)


Modified: grass/trunk/raster/r.mapcalc/testsuite/test_r_mapcalc.py
===================================================================
--- grass/trunk/raster/r.mapcalc/testsuite/test_r_mapcalc.py	2015-03-18 19:55:31 UTC (rev 64883)
+++ grass/trunk/raster/r.mapcalc/testsuite/test_r_mapcalc.py	2015-03-18 20:31:31 UTC (rev 64884)
@@ -8,16 +8,16 @@
 west: 15
 rows: 10
 cols: 10
-2 12 183 135 117 176 138 117 182 40
-157 70 195 1 30 125 122 74 108 104
-163 146 82 164 67 63 60 3 147 193
-151 173 144 173 128 77 141 6 144 193
-180 56 14 121 124 107 46 107 90 60
-177 57 12 104 178 13 167 104 163 187
-55 133 27 114 195 60 78 35 49 11
-55 138 25 105 32 58 47 18 139 32
-24 74 36 71 131 124 87 161 160 154
-136 45 48 146 9 182 69 12 35 19
+121 12 183 55 37 96 138 117 182 40 
+157 70 115 1 149 125 42 193 108 24 
+83 66 82 84 186 182 179 122 67 113 
+151 93 144 173 128 196 61 125 64 193 
+180 175 14 41 44 27 165 27 90 60 
+97 57 12 104 98 13 87 24 83 107 
+174 133 146 114 115 60 78 154 49 130 
+55 138 144 25 32 58 47 137 139 32 
+143 193 155 190 131 124 87 81 160 154 
+56 45 48 66 9 182 69 12 154 19 
 """
 
 dcell_seed_600 = """\



More information about the grass-commit mailing list