diff --git a/Tests/MaterialLib/TestMPLExponentialProperty.cpp b/Tests/MaterialLib/TestMPLExponentialProperty.cpp index 44773d7425cb3146e9fcf5b6de5776b2ae287d8d..b32406083a770f9bcd627b4b47019ecfbc6d8552 100644 --- a/Tests/MaterialLib/TestMPLExponentialProperty.cpp +++ b/Tests/MaterialLib/TestMPLExponentialProperty.cpp @@ -37,11 +37,11 @@ TEST(MaterialPropertyLib, ExponentialProperty) 1.e-10); ASSERT_EQ( std::get<double>(exp_property.dValue( - variable_array, MaterialPropertyLib::Variable::phase_pressure)), + variable_array, MaterialPropertyLib::Variable::phase_pressure, pos, time)), 0.0); ASSERT_NEAR( std::get<double>(exp_property.dValue( - variable_array, MaterialPropertyLib::Variable::temperature)), + variable_array, MaterialPropertyLib::Variable::temperature, pos, time)), -y_ref * factor * std::exp(-factor * (std::get<double>(variable_array[static_cast<int>( diff --git a/Tests/MaterialLib/TestMPLLinearProperty.cpp b/Tests/MaterialLib/TestMPLLinearProperty.cpp index fc348c4ba11db5ded46abd0612cc6943ece10a75..c9a2fc63bfa3ffd215a45b1c78dc02fd099962b2 100644 --- a/Tests/MaterialLib/TestMPLLinearProperty.cpp +++ b/Tests/MaterialLib/TestMPLLinearProperty.cpp @@ -32,14 +32,14 @@ TEST(MaterialPropertyLib, LinearProperty) MaterialPropertyLib::Variable::temperature)]) - x_ref)), 1.e-10); - ASSERT_EQ( - std::get<double>(linear_property.dValue( - variable_array, MaterialPropertyLib::Variable::phase_pressure)), - 0.0); - ASSERT_NEAR( - std::get<double>(linear_property.dValue( - variable_array, MaterialPropertyLib::Variable::temperature)), - y_ref * m, 1.e-16); + ASSERT_EQ(std::get<double>(linear_property.dValue( + variable_array, MaterialPropertyLib::Variable::phase_pressure, + pos, time)), + 0.0); + ASSERT_NEAR(std::get<double>(linear_property.dValue( + variable_array, MaterialPropertyLib::Variable::temperature, + pos, time)), + y_ref * m, 1.e-16); ASSERT_EQ(std::get<double>(linear_property.d2Value( variable_array, MaterialPropertyLib::Variable::temperature,