[MOAB-dev] r5018 - in MOAB/trunk/test: . h5file io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Jun 16 12:36:48 CDT 2011


Author: kraftche
Date: 2011-06-16 12:36:48 -0500 (Thu, 16 Jun 2011)
New Revision: 5018

Modified:
   MOAB/trunk/test/TagTest.cpp
   MOAB/trunk/test/TestTypeSequenceManager.cpp
   MOAB/trunk/test/h5file/h5legacy.cpp
   MOAB/trunk/test/h5file/h5portable.cpp
   MOAB/trunk/test/h5file/h5sets_test.cpp
   MOAB/trunk/test/h5file/h5varlen.cpp
   MOAB/trunk/test/io/exodus_test.cc
   MOAB/trunk/test/range_test.cpp
Log:
update tests for change to Range::size() return type

Modified: MOAB/trunk/test/TagTest.cpp
===================================================================
--- MOAB/trunk/test/TagTest.cpp	2011-06-16 16:39:04 UTC (rev 5017)
+++ MOAB/trunk/test/TagTest.cpp	2011-06-16 17:36:48 UTC (rev 5018)
@@ -1042,7 +1042,7 @@
   results.clear();
   rval = mb.get_entities_by_type_and_tag( 0, MBHEX, &tag, findarr, 1, results );
   CHECK_ERR(rval);
-  CHECK_EQUAL( (EntityHandle)3, results.size() );
+  CHECK_EQUAL( (size_t)3, results.size() );
   CHECK_EQUAL( arr[0], results.front() );
   CHECK_EQUAL( arr[1], *++results.begin() );
   CHECK_EQUAL( arr[2], results.back() );
@@ -1059,7 +1059,7 @@
   results.insert( vertices.front() );
   rval = mb.get_entities_by_type_and_tag( 0, MBHEX, &tag, findarr, 1, results, Interface::INTERSECT );
   CHECK_ERR(rval);
-  CHECK_EQUAL( (EntityHandle)2, results.size() );
+  CHECK_EQUAL( (size_t)2, results.size() );
   CHECK_EQUAL( arr[0], results.front() );
   CHECK_EQUAL( arr[2], results.back() );
   
@@ -1853,7 +1853,7 @@
   ptrs[0] = &default_sparse;
   rval = mb.get_entities_by_type_and_tag( 0, MBVERTEX, &tag_sparse, ptrs, 1, result, Interface::INTERSECT );
   CHECK_ERR(rval);
-  CHECK_EQUAL( (EntityHandle)1, result.size() );
+  CHECK_EQUAL( (size_t)1, result.size() );
   CHECK_EQUAL( sets[1].front(), result.front() );
   
   
@@ -2019,7 +2019,7 @@
   rval = moab.get_entities_by_type_and_tag( 0, MBVERTEX, &tag, 0, 1, ents );
   CHECK_ERR(rval);
   
-  CHECK_EQUAL( (EntityHandle)1, ents.size() );
+  CHECK_EQUAL( (size_t)1, ents.size() );
   CHECK_EQUAL( vertex, ents.front() );
 }
 

Modified: MOAB/trunk/test/TestTypeSequenceManager.cpp
===================================================================
--- MOAB/trunk/test/TestTypeSequenceManager.cpp	2011-06-16 16:39:04 UTC (rev 5017)
+++ MOAB/trunk/test/TestTypeSequenceManager.cpp	2011-06-16 17:36:48 UTC (rev 5018)
@@ -392,7 +392,7 @@
 
   Range entities;
   seqman.get_entities( entities );
-  CHECK_EQUAL( (EntityHandle)18, entities.size() );
+  CHECK_EQUAL( (size_t)18, entities.size() );


More information about the moab-dev mailing list