[cgma-dev] r4480 - cgm/trunk/itaps

jvporter at wisc.edu jvporter at wisc.edu
Wed Feb 2 11:08:07 CST 2011


Author: jvporter
Date: 2011-02-02 11:08:07 -0600 (Wed, 02 Feb 2011)
New Revision: 4480

Modified:
   cgm/trunk/itaps/testgeom.cc
Log:
Whoops! I thought I ran make check before committing the num_hops change, but
that must have just been the PyTAPS tests...


Modified: cgm/trunk/itaps/testgeom.cc
===================================================================
--- cgm/trunk/itaps/testgeom.cc	2011-02-01 19:48:28 UTC (rev 4479)
+++ cgm/trunk/itaps/testgeom.cc	2011-02-02 17:08:07 UTC (rev 4480)
@@ -709,7 +709,7 @@
 
     // get the number of parent gentitysets
   num_gents = -1;
-  iGeom_getNumPrnt( geom, parent_child, 1, &num_gents, &err );
+  iGeom_getNumPrnt( geom, parent_child, 0, &num_gents, &err );
   CHECK( "Problem getting number of parents in gentityset_test." );
 
   if (num_gents != 2) {
@@ -720,7 +720,7 @@
 
     // get the number of child gentitysets
   num_gents = -1;
-  iGeom_getNumChld( geom, parent_child, 1, &num_gents, &err );
+  iGeom_getNumChld( geom, parent_child, 0, &num_gents, &err );
   CHECK( "Problem getting number of children in gentityset_test." );
 
   if (num_gents != 2) {
@@ -730,7 +730,7 @@
   }
 
   SimpleArray<iBase_EntitySetHandle> children;
-  iGeom_getChldn( geom, parent_child, 1, ARRAY_INOUT(children), &err );
+  iGeom_getChldn( geom, parent_child, 0, ARRAY_INOUT(children), &err );
   CHECK( "Problem getting children in gentityset_test." );
 
   if (children.size() != 2) {
@@ -744,7 +744,7 @@
   CHECK( "Problem removing parent child in gentityset_test." );
 
     // get the number of child gentitysets
-  iGeom_getNumChld( geom, parent_child, 1, &num_gents, &err );
+  iGeom_getNumChld( geom, parent_child, 0, &num_gents, &err );
   CHECK( "Problem getting number of children in gentityset_test." );
 
   if (num_gents != 1) {
@@ -775,7 +775,7 @@
   
     // check the number of gentity sets in whole mesh
   SimpleArray<iBase_EntitySetHandle> gentity_sets;
-  iGeom_getEntSets( geom, root_set, 1, ARRAY_INOUT( gentity_sets ), &err );
+  iGeom_getEntSets( geom, root_set, 0, ARRAY_INOUT( gentity_sets ), &err );
   CHECK( "Problem to get all gentity sets in mesh." );
   
   if (gentity_sets.size() != all_sets + 8) {
@@ -786,12 +786,12 @@
 


More information about the cgma-dev mailing list