[GRASS-SVN] r51617 - in grass/trunk: lib/raster3d/test
temporal/t.vect.observe.strds
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 14 03:57:51 EDT 2012
Author: huhabla
Date: 2012-05-14 00:57:51 -0700 (Mon, 14 May 2012)
New Revision: 51617
Modified:
grass/trunk/lib/raster3d/test/test_put_get_value.c
grass/trunk/temporal/t.vect.observe.strds/test.t.vect.observe.strds.sh
Log:
Fixed tests
Modified: grass/trunk/lib/raster3d/test/test_put_get_value.c
===================================================================
--- grass/trunk/lib/raster3d/test/test_put_get_value.c 2012-05-12 11:58:29 UTC (rev 51616)
+++ grass/trunk/lib/raster3d/test/test_put_get_value.c 2012-05-14 07:57:51 UTC (rev 51617)
@@ -464,15 +464,15 @@
G_message("Error in Rast3d_get_region_value");
sum++;
}
- if(value != col + row + depth) {
+ if(value_win != col + row + depth) {
G_message("Error in Rast3d_get_window_value");
sum++;
}
- if(value != col + row + depth) {
+ if(value_ref != col + row + depth) {
G_message("Error in Rast3d_get_value");
sum++;
}
- if(value != col + row + depth) {
+ if(value_reg != col + row + depth) {
G_message("Error in Rast3d_get_value_region");
sum++;
}
Modified: grass/trunk/temporal/t.vect.observe.strds/test.t.vect.observe.strds.sh
===================================================================
--- grass/trunk/temporal/t.vect.observe.strds/test.t.vect.observe.strds.sh 2012-05-12 11:58:29 UTC (rev 51616)
+++ grass/trunk/temporal/t.vect.observe.strds/test.t.vect.observe.strds.sh 2012-05-14 07:57:51 UTC (rev 51617)
@@ -20,6 +20,8 @@
t.vect.observe.strds input=prec strds=precip_abs1 output=prec_observer
v.info prec_observer
t.info type=stvds input=prec_observer
+t.vect.list input=prec_observer
+t.vect.extract input=prec_observer where="start_time >= '2001-05-01'" expr="prec > 400" output=test_extract base=test_
# @postprocess
t.unregister type=rast maps=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6
@@ -27,5 +29,5 @@
t.remove type=stvds input=prec_observer
t.unregister type=vect maps=prec_observer:1,prec_observer:2,prec_observer:3,prec_observer:4,prec_observer:5,prec_observer:6
-g.remove vect=prec_observer
+g.remove vect=prec_observer,test_extract
g.remove rast=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6
More information about the grass-commit
mailing list