Skip to content

Commit

Permalink
Revert "Updated test and gtest."
Browse files Browse the repository at this point in the history
This reverts commit 35ac1e9.
  • Loading branch information
bjaraujo committed Dec 28, 2023
1 parent 35ac1e9 commit 1b8f586
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions trunk/tests/CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ project(googletest-download NONE)

include(ExternalProject)
ExternalProject_Add(googletest
URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz
URL_HASH SHA1=2b28c2a3a30d86b1759543ef61fac3c4d69f8c4c
URL https://github.com/google/googletest/archive/refs/tags/release-1.10.0.tar.gz
URL_HASH SHA1=9c89be7df9c5e8cb0bc20b3c4b39bf7e82686770
SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src"
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
CONFIGURE_COMMAND ""
Expand Down
6 changes: 4 additions & 2 deletions trunk/tests/TestMshTetrahedronMesher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ TEST_F(CTestMshTetrahedronMesher, mesh2) {

TEST_F(CTestMshTetrahedronMesher, mesh3) {

GTEST_SKIP();

const Decimal d = 0.125;

const Integer nu = 5;
Expand Down Expand Up @@ -211,15 +213,15 @@ TEST_F(CTestMshTetrahedronMesher, mesh3) {
CMshTetrahedronMesher<Decimal> aTetrahedronMesher;
std::vector<CGeoCoordinate<Decimal>> sInteriorPoints;

aTetrahedronMesher.generate(aSurfaceMesh, 999, sInteriorPoints, d, d * 0.9, d * 1.1, 1E-6);
aTetrahedronMesher.generate(aSurfaceMesh, 999, sInteriorPoints, d * 1.1, d * 1.0, d * 1.2, 1E-3);

CMshMesh<Decimal> aVolumeMesh;
aVolumeMesh = aTetrahedronMesher.mesh();

T.setMesh(aVolumeMesh);
aPosGmsh.save(T, "tetra_volume3.msh", "tetras");

EXPECT_EQ(322, aVolumeMesh.nbElements());
EXPECT_EQ(281, aVolumeMesh.nbElements());

}

Expand Down

0 comments on commit 1b8f586

Please sign in to comment.