Skip to content

Commit

Permalink
Update src/model/test/Surface_GTest.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Sep 15, 2022
1 parent cef60b9 commit a092a80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Do not enable compiler specific extensions, for eg on GCC use -std=c++1z (=c++17) and not -std=gnu++17
set(CMAKE_CXX_EXTENSIONS OFF)

# Use ccache if available, has to be before "project()"
# Use ccache is available, has to be before "project()"
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
# Support Unix Makefiles and Ninja
Expand Down
4 changes: 2 additions & 2 deletions src/model/test/Surface_GTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3831,9 +3831,9 @@ TEST_F(ModelFixture, 4678_SurfaceGlassUFactorSqlError) {

ASSERT_TRUE(surface->uFactor());
double uFactor = surface->uFactor().get();
EXPECT_TRUE(openstudio::equal(0.310, uFactor, 1.0E-3));
EXPECT_NEAR(0.310, uFactor, 1E-03);

ASSERT_TRUE(surface->thermalConductance());
double thermalConductance = surface->thermalConductance().get();
EXPECT_TRUE(openstudio::equal(0.325, thermalConductance, 1.0E-3));
EXPECT_NEAR(0.325, thermalConductance, 1E-03);
}

0 comments on commit a092a80

Please sign in to comment.