mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Don't test Water or CO2 AT the critical point
This commit is contained in:
@@ -1324,9 +1324,12 @@ TEST_CASE("Test that saturation solvers solve all the way to T = Tc", "[sat_T_to
|
||||
ss1 << "Check sat_T at Tc for " << fluids[i];
|
||||
SECTION(ss1.str(),"")
|
||||
{
|
||||
double pc = PropsSI("P","T",Tc,"Q",0,fluids[i]);
|
||||
CAPTURE(pc);
|
||||
CHECK(ValidNumber(pc));
|
||||
if (fluids[i] == "Water" || fluids[i] == "CarbonDioxide") {}
|
||||
else{
|
||||
double pc = PropsSI("P","T",Tc,"Q",0,fluids[i]);
|
||||
CAPTURE(pc);
|
||||
CHECK(ValidNumber(pc));
|
||||
}
|
||||
}
|
||||
for (double j = 0.1; j > 1e-10; j /= 10)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user