[MOAB-dev] r4211 - MOAB/trunk/tools/mbcoupler
karpeev at mcs.anl.gov
karpeev at mcs.anl.gov
Mon Oct 11 16:37:28 CDT 2010
Author: karpeev
Date: 2010-10-11 16:37:28 -0500 (Mon, 11 Oct 2010)
New Revision: 4211
Added:
MOAB/trunk/tools/mbcoupler/ElementTest.cpp
Log:
Basic test driver to test moab::Element classes from ElemUtils.
Object file compiles, but executable couldn't be built due to problems elsewhere.
Added: MOAB/trunk/tools/mbcoupler/ElementTest.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/ElementTest.cpp (rev 0)
+++ MOAB/trunk/tools/mbcoupler/ElementTest.cpp 2010-10-11 21:37:28 UTC (rev 4211)
@@ -0,0 +1,24 @@
+#include "TestUtil.hpp"
+#include "ElemUtil.hpp"
+#include <iostream>
+
+using namespace moab;
+
+void test_tet();
+void test_hex();
+
+int main()
+{
+ int rval = 0;
+ rval += RUN_TEST(test_tet);
+ rval += RUN_TEST(test_hex);
+ return rval;
+}
+
+void test_tet() {
+ moab::Element::LinearTet tet;
+}// test_tet()
+
+void test_hex() {
+ moab::Element::LinearHex hex;
+}// test_hex()
More information about the moab-dev
mailing list