Example #1
0
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
Example #2
0
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)
Example #3
0
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)
Example #4
0
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