MeshKit  1.0
test_load_grps.cpp
Go to the documentation of this file.
00001 
00007 #include "meshkit/MKCore.hpp"
00008 #include <stdlib.h>
00009 
00010 using namespace MeshKit;
00011 
00012 #include "TestUtil.hpp"
00013 
00014 #define DEFAULT_TEST_FILE "cyl_grps.sat"
00015 
00016 MKCore *mk;
00017 
00018 void test_load_groups();
00019 
00020 int main(int argc, char **argv)
00021 {
00022     mk = new MKCore();
00023     int num_fail = 0; 
00024     #ifdef HAVE_ACIS
00025     num_fail += RUN_TEST(test_load_groups);
00026     #endif
00027     return num_fail;
00028 }
00029 
00030 void test_load_groups()
00031 {
00032   std::cout << TestDir << std::endl;
00033   std::string filename = TestDir + "/" + DEFAULT_TEST_FILE;
00034   // load the test file
00035   mk->load_geometry(filename.c_str()); 
00036 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines