[GRASS-SVN] r51715 - grass/trunk/lib/raster3d/test

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 24 13:00:22 EDT 2012


Author: huhabla
Date: 2012-05-24 10:00:22 -0700 (Thu, 24 May 2012)
New Revision: 51715

Modified:
   grass/trunk/lib/raster3d/test/test_put_get_value.c
Log:
Added G_percent to test 


Modified: grass/trunk/lib/raster3d/test/test_put_get_value.c
===================================================================
--- grass/trunk/lib/raster3d/test/test_put_get_value.c	2012-05-24 16:53:13 UTC (rev 51714)
+++ grass/trunk/lib/raster3d/test/test_put_get_value.c	2012-05-24 17:00:22 UTC (rev 51715)
@@ -593,6 +593,7 @@
     Rast3d_set_window_map(map, &region);
     
     for(z = 0; z < region.depths; z++) {
+	G_percent(z, region.depths, 1);
         for(y = 0; y < region.rows; y++) {
             for(x = 0; x < region.cols; x++) {
                 /* Add cols, rows and depths and put this in the map */
@@ -601,6 +602,7 @@
             }
         }
     }
+    G_percent(1, 1, 1);
     /* Write everything to the disk */
     Rast3d_flush_all_tiles(map);
     Rast3d_close(map);



More information about the grass-commit mailing list