phases tests call the correct function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-11-24 20:31:49 -05:00
parent 1fc6fabc54
commit cb74fb9c25

View File

@@ -486,7 +486,7 @@ TEST_CASE("Check that all phases are descibed","[phase_index]")
int key;
CHECK_NOTHROW(stringrepr = CoolProp::get_phase_short_desc(static_cast<CoolProp::phases>(i)));
CAPTURE(stringrepr);
CHECK_NOTHROW(key = CoolProp::get_parameter_index(stringrepr));
CHECK_NOTHROW(key = CoolProp::get_phase_index(stringrepr));
CAPTURE(key);
CHECK(key == i);
}