[cgma-dev] r6074 - cgm/trunk/test

janehu at mcs.anl.gov janehu at mcs.anl.gov
Wed Oct 9 12:24:47 CDT 2013


Author: janehu
Date: 2013-10-09 12:24:47 -0500 (Wed, 09 Oct 2013)
New Revision: 6074

Added:
   cgm/trunk/test/cylinders.cpp
   cgm/trunk/test/s5.sat
   cgm/trunk/test/s5.stp
Modified:
   cgm/trunk/test/Makefile.am
Log:
Checking in the new testcase provided by Rajeev, passed make check for occ and cubit build.

Modified: cgm/trunk/test/Makefile.am
===================================================================
--- cgm/trunk/test/Makefile.am	2013-10-09 17:23:53 UTC (rev 6073)
+++ cgm/trunk/test/Makefile.am	2013-10-09 17:24:47 UTC (rev 6074)
@@ -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 spheres
+  TESTS += webcut merge_acis brick_acis spheres cylinders
 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 spheres
+  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 cylinders
 endif
 check_PROGRAMS = $(TESTS)
 
@@ -44,6 +44,7 @@
 libcgm_test_la_SOURCES = TestUtilities.hpp \
                          TestUtilities.cpp
 
+cylinders_SOURCES = cylinders.cpp
 spheres_SOURCES = spheres.cpp
 webcut_SOURCES = webcut.cpp
 hollow_acis_SOURCES = hollow_acis.cpp
@@ -123,7 +124,9 @@
              box-w-hole.brep \
              Solid_2.brep \
              Solid_6.brep  \
-             Solid_7.brep  
+             Solid_7.brep  \
+             s5.stp \
+             s5.sat
 
 # Files that are created by tests, and that therefore 
 #  - should be removed during 'make clean'

Added: cgm/trunk/test/cylinders.cpp
===================================================================
--- cgm/trunk/test/cylinders.cpp	                        (rev 0)
+++ cgm/trunk/test/cylinders.cpp	2013-10-09 17:24:47 UTC (rev 6074)
@@ -0,0 +1,173 @@
+/**
+ * \file makept.cpp
+ *
+ * \brief makept, another simple C++ driver for CGM


More information about the cgma-dev mailing list