Go to the source code of this file.
|
| TEST (GeochemistryFormattedOutput, excepts) |
|
| TEST (GeochemistryFormattedOutput, reactionFormat) |
|
◆ TEST() [1/2]
TEST |
( |
GeochemistryFormattedOutput |
, |
|
|
excepts |
|
|
) |
| |
Definition at line 14 of file GeochemistryFormattedOutputTest.C.
21 FAIL() <<
"Missing expected exception.";
23 catch (
const std::exception & e)
25 std::string msg(e.what());
26 ASSERT_TRUE(msg.find(
"GeochemistryFormattedOutput::reaction called with stoichiometric matrix " 27 "having 1 rows, but row = 1") != std::string::npos)
28 <<
"Failed with unexpected error message: " << msg;
34 FAIL() <<
"Missing expected exception.";
36 catch (
const std::exception & e)
38 std::string msg(e.what());
39 ASSERT_TRUE(msg.find(
"GeochemistryFormattedOutput::reaction called with stoichiometric matrix " 40 "having 3 columns, but names has size 2") != std::string::npos)
41 <<
"Failed with unexpected error message: " << msg;
◆ TEST() [2/2]
TEST |
( |
GeochemistryFormattedOutput |
, |
|
|
reactionFormat |
|
|
) |
| |