| 5151 | int saved; |
| 5152 | DebugLevelGuard() : saved(CoolProp::get_debug_level()) {} |
| 5153 | ~DebugLevelGuard() { |
| 5154 | CoolProp::set_debug_level(saved); |
| 5155 | } |
| 5156 | } guard; |
| 5157 | CoolProp::set_debug_level(1); |
| 5158 | CHECK_THROWS_AS(CoolProp::add_fluids_as_JSON("PCSAFT", "this is not json"), CoolProp::ValueError); |
nothing calls this directly
no test coverage detected