Fix backwards logic in PD test

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-12-06 16:59:50 -05:00
parent 4a59d578aa
commit 16c70f91bc

View File

@@ -1456,7 +1456,7 @@ TEST_CASE("PD with T very large should yield error","[PDflash]")
shared_ptr<HelmholtzEOSBackend> HEOS(new HelmholtzEOSBackend("R134a"));
double Tc = HEOS->T_critical();
HEOS->update(DmassT_INPUTS, 1.1, 1.5*Tc);
CHECK_THROWS(HEOS->update(DmassP_INPUTS, 2, 0.5*HEOS->p()));
CHECK_THROWS(HEOS->update(DmassP_INPUTS, 2, 5*HEOS->p()));
}
#endif