[cgma-dev] r6072 - cgm/trunk/test
janehu at mcs.anl.gov
janehu at mcs.anl.gov
Mon Oct 7 11:14:32 CDT 2013
Author: janehu
Date: 2013-10-07 11:14:32 -0500 (Mon, 07 Oct 2013)
New Revision: 6072
Added:
cgm/trunk/test/spheres.cpp
Modified:
cgm/trunk/test/Makefile.am
Log:
Added one testcase, spheres for multi-volume body webcut operation.
Modified: cgm/trunk/test/Makefile.am
===================================================================
--- cgm/trunk/test/Makefile.am 2013-10-07 16:12:57 UTC (rev 6071)
+++ cgm/trunk/test/Makefile.am 2013-10-07 16:14:32 UTC (rev 6072)
@@ -16,7 +16,7 @@
TESTS += webcut hollow_acis brick_acis merge_acis AngleCalc_acis CreateGeometry_acis GraphicsData_acis
else
if WITH_CUBIT
- TESTS += webcut merge_acis brick_acis
+ TESTS += webcut merge_acis brick_acis spheres
else
if DEV
TESTS += modify makept
@@ -25,7 +25,7 @@
endif
if build_OCC
- TESTS += attribute_to_file loft offset_curves point_project imprint_bug subtract test_occ brick_occ merge_occ r_w operation section AngleCalc_occ CreateGeometry_occ GraphicsData_occ brick_facet merge_facet
+ TESTS += attribute_to_file loft offset_curves point_project imprint_bug subtract test_occ brick_occ merge_occ r_w operation section AngleCalc_occ CreateGeometry_occ GraphicsData_occ brick_facet merge_facet spheres
endif
check_PROGRAMS = $(TESTS)
@@ -44,6 +44,7 @@
libcgm_test_la_SOURCES = TestUtilities.hpp \
TestUtilities.cpp
+spheres_SOURCES = spheres.cpp
webcut_SOURCES = webcut.cpp
hollow_acis_SOURCES = hollow_acis.cpp
makept_SOURCES = makept.cpp
@@ -160,6 +161,7 @@
pyramid.occ \
fillet.occ \
curves.brep \
+ spheres.sat \
mmgr.log
Added: cgm/trunk/test/spheres.cpp
===================================================================
--- cgm/trunk/test/spheres.cpp (rev 0)
+++ cgm/trunk/test/spheres.cpp 2013-10-07 16:14:32 UTC (rev 6072)
@@ -0,0 +1,74 @@
+
+#undef NDEBUG
+#include <cassert>
+
+#include "GeometryModifyTool.hpp"
+#include "GeometryQueryTool.hpp"
+#include "Body.hpp"
More information about the cgma-dev
mailing list