// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard // U.S. Geological Survey // // {LicenseText} // // ---------------------------------------------------------------------- // /** * @file unittests/libtests/feassemble/TestQuadrature2D.hh * * @brief C++ TestQuadrature2D object * * C++ unit testing for Quadrature2D. */ #if !defined(pylith_feassemble_testquadrature2d_hh) #define pylith_feassemble_testquadrature2d_hh #include "TestQuadrature.hh" /// Namespace for pylith package namespace pylith { namespace feassemble { class TestQuadrature2D; } // feassemble } // pylith /// C++ unit testing for Quadrature2D class pylith::feassemble::TestQuadrature2D : public TestQuadrature { // class TestQuadrature2D // CPPUNIT TEST SUITE ///////////////////////////////////////////////// CPPUNIT_TEST_SUITE( TestQuadrature2D ); CPPUNIT_TEST( testConstructor ); CPPUNIT_TEST( testLinear ); CPPUNIT_TEST( testQuadratic ); CPPUNIT_TEST_SUITE_END(); // PUBLIC METHODS ///////////////////////////////////////////////////// public : /// Test constructor void testConstructor(void); /// Test initialize() & computeGeometry() w/linear basis fns void testLinear(void); /// Test initialize() & computeGeometry() w/quadratic basis fns void testQuadratic(void); }; // class TestQuadrature #endif // pylith_feassemble_testquadrature2d_hh // End of file