[MOAB-dev] r5050 - MOAB/trunk/test

iulian at mcs.anl.gov iulian at mcs.anl.gov
Mon Jul 11 15:21:48 CDT 2011


Author: iulian
Date: 2011-07-11 15:21:47 -0500 (Mon, 11 Jul 2011)
New Revision: 5050

Added:
   MOAB/trunk/test/mbground_test.cpp
Modified:
   MOAB/trunk/test/Makefile.am
   MOAB/trunk/test/mbfacet_test.cpp
Log:
do the "grounding line" split in a different test
it can be used separately to split an existing surface along a 
polyline, with a preferred direction


Modified: MOAB/trunk/test/Makefile.am
===================================================================
--- MOAB/trunk/test/Makefile.am	2011-07-09 05:22:18 UTC (rev 5049)
+++ MOAB/trunk/test/Makefile.am	2011-07-11 20:21:47 UTC (rev 5050)
@@ -38,6 +38,7 @@
         mbcn_test \
         bsp_tree_poly_test \
         mbfacet_test \
+        mbground_test \
         gttool_test \
         cropvol_test \
 	reorder_test
@@ -111,6 +112,7 @@
 
 bsp_tree_poly_test_SOURCES = bsp_tree_poly_test.cpp
 mbfacet_test_SOURCES = mbfacet_test.cpp
+mbground_test_SOURCES = mbground_test.cpp
 gttool_test_SOURCES = gttool_test.cpp
 cropvol_test_SOURCES = crop_vol_test.cpp
 

Modified: MOAB/trunk/test/mbfacet_test.cpp
===================================================================
--- MOAB/trunk/test/mbfacet_test.cpp	2011-07-09 05:22:18 UTC (rev 5049)
+++ MOAB/trunk/test/mbfacet_test.cpp	2011-07-11 20:21:47 UTC (rev 5050)
@@ -64,7 +64,6 @@
 ErrorCode ray_test(FBEngine * pFacet);
 ErrorCode split_test(Interface * mb, FBEngine * pFacet);
 ErrorCode check_split(Interface * mb, FBEngine * pFacet);
-ErrorCode split_test_across();
 
 ErrorCode split_quads_test();
 
@@ -165,11 +164,6 @@
 
   if (only_cropping)
     return number_tests_failed;
-  // split_test_across
-  std::cout << " split across test: ";
-  rval = split_test_across();
-  handle_error_code(rval, number_tests_failed, number_tests_successful);
-  std::cout << "\n";
 
   std::cout << " split quads test: ";
   rval = split_quads_test();
@@ -592,113 +586,7 @@
 
   return MB_SUCCESS;
 }
-// this test will test a split like the one for grounding line
-// use the first and third point of the same polyline


More information about the moab-dev mailing list