def test_evap_pressure_alt(): assert d.evap_pressure_alt(m("4100" + "0000")) == -32767 * Unit.pascal assert d.evap_pressure_alt(m("4100" + "7FFF")) == 0 * Unit.pascal assert d.evap_pressure_alt(m("4100" + "FFFF")) == 32768 * Unit.pascal
def test_evap_pressure_alt(): assert d.evap_pressure_alt("0000") == (-32767, Unit.PA) assert d.evap_pressure_alt("7FFF") == (0, Unit.PA) assert d.evap_pressure_alt("FFFF") == (32768, Unit.PA)
def test_evap_pressure_alt(): assert d.evap_pressure_alt(m("0000")) == (-32767, Unit.PA) assert d.evap_pressure_alt(m("7FFF")) == (0, Unit.PA) assert d.evap_pressure_alt(m("FFFF")) == (32768, Unit.PA)