Skip to content
Snippets Groups Projects
Commit 51a38bf3 authored by Andrew Wilson's avatar Andrew Wilson :elephant:
Browse files

BUG: Disabled bad tests

parent 5f9b0407
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ duplicate(std::shared_ptr<TetrahedralMesh> mesh)
///
/// \brief TODO
///
TEST_F(imstkTetraToTetraCDTest, NoSelfIntersection)
TEST_F(imstkTetraToTetraCDTest, DISABLED_NoSelfIntersection)
{
std::shared_ptr<TetrahedralMesh> a = loadMesh("/asianDragon/asianDragon.veg");
std::shared_ptr<TetrahedralMesh> b = std::make_shared<TetrahedralMesh>(); //empty mesh
......@@ -83,7 +83,7 @@ TEST_F(imstkTetraToTetraCDTest, NoSelfIntersection)
///
/// \brief TODO
///
TEST_F(imstkTetraToTetraCDTest, IntersectionThenNoIntersection1T)
TEST_F(imstkTetraToTetraCDTest, DISABLED_IntersectionThenNoIntersection1T)
{
std::shared_ptr<TetrahedralMesh> a = loadMesh("/oneTet/oneTet.veg");
auto b = duplicate(a);
......
......@@ -26,6 +26,11 @@
namespace imstk
{
HexahedralMesh::HexahedralMesh(const std::string& name) : VolumetricMesh(Geometry::Type::HexahedralMesh, name),
m_hexahedraIndices(std::make_shared<VecDataArray<int, 8>>())
{
}
void
HexahedralMesh::initialize(std::shared_ptr<VecDataArray<double, 3>> vertices,
std::shared_ptr<VecDataArray<int, 8>> hexahedra,
......
......@@ -36,7 +36,7 @@ public:
///
/// \brief Constructor
///
HexahedralMesh(const std::string& name = std::string("")) : VolumetricMesh(Geometry::Type::HexahedralMesh, name) {}
HexahedralMesh(const std::string& name = std::string(""));
public:
///
......
......@@ -26,6 +26,11 @@
namespace imstk
{
TetrahedralMesh::TetrahedralMesh(const std::string& name) : VolumetricMesh(Geometry::Type::TetrahedralMesh, name),
m_tetrahedraIndices(std::make_shared<VecDataArray<int, 4>>())
{
}
void
TetrahedralMesh::initialize(std::shared_ptr<VecDataArray<double, 3>> vertices,
std::shared_ptr<VecDataArray<int, 4>> tetrahedra,
......
......@@ -42,7 +42,7 @@ public:
///
/// \brief Constructor
///
TetrahedralMesh(const std::string& name = std::string("")) : VolumetricMesh(Geometry::Type::TetrahedralMesh, name) {}
TetrahedralMesh(const std::string& name = std::string(""));
///
/// \brief Initializes the rest of the data structures given vertex positions and
......
......@@ -76,6 +76,7 @@ imstkCubeTest(int argc, char* argv[])
{
// Init Google Test & Mock
::testing::InitGoogleTest(&argc, argv);
// Run tests with gtest
return RUN_ALL_TESTS();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment