mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
phases tests call the correct function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user