Merge branch 'master' into replicate-template-fixes
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
|
||||
find_package(YAML)
|
||||
if(NOT YAML_FOUND)
|
||||
message(STATUS "Skipping tests because libyaml is not found")
|
||||
return()
|
||||
# download and build a local copy of libyaml
|
||||
include(YAML)
|
||||
endif()
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.12)
|
||||
|
||||
@ -26,7 +26,7 @@ TEST(ErrorStats, test)
|
||||
|
||||
std::stringstream out;
|
||||
out << stats;
|
||||
ASSERT_EQ(out.str(), "Average: 5.800e-01 StdDev: 7.305e-01 MaxErr: 2.000e+00 @ item: 3.0");
|
||||
ASSERT_EQ(out.str(), "Average: 5.800e-01 StdDev: 7.305e-01 MaxErr: 2.000e+00 @ item: 3");
|
||||
|
||||
stats.reset();
|
||||
ASSERT_EQ(stats.has_data(), false);
|
||||
|
||||
Reference in New Issue
Block a user