// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard // U.S. Geological Survey // // {LicenseText} // // ---------------------------------------------------------------------- // #include #include "TestElasticityImplicit1DQuadratic.hh" // Implementation of class methods #include "data/ElasticityImplicitData1DQuadratic.hh" #include "pylith/feassemble/Quadrature1D.hh" // USES Quadrature1D #include "pylith/materials/ElasticStrain1D.hh" // USES ElasticStrain1D // ---------------------------------------------------------------------- CPPUNIT_TEST_SUITE_REGISTRATION( pylith::feassemble::TestElasticityImplicit1DQuadratic ); // ---------------------------------------------------------------------- // Setup testing data. void pylith::feassemble::TestElasticityImplicit1DQuadratic::setUp(void) { // setUp _data = new ElasticityImplicitData1DQuadratic(); _quadrature = new Quadrature1D(); _material = new materials::ElasticStrain1D; CPPUNIT_ASSERT(0 != _data); CPPUNIT_ASSERT_EQUAL(std::string("ElasticStrain1D"), std::string(_data->matType)); } // setUp // End of file