10 #include "gtest/gtest.h" 15 TEST(RankTwoScalarToolsTest, ErrorComputingEV)
21 a(0, 0) =
a(0, 1) =
a(0, 2) = std::numeric_limits<double>::quiet_NaN();
22 a(1, 0) =
a(1, 1) =
a(1, 2) =
a(0, 0);
23 a(2, 0) =
a(2, 1) =
a(2, 2) =
a(0, 0);
31 catch (
const std::exception &
err)
33 std::size_t pos = std::string(
err.what()).find(
"In computing the eigenvalues and eigenvectors");
34 ASSERT_TRUE(pos != std::string::npos);