Example #1
0
def test_fuel_pressure():
    assert d.fuel_pressure(m("4100" + "00")) == 0 * Unit.kilopascal
    assert d.fuel_pressure(m("4100" + "80")) == 384 * Unit.kilopascal
    assert d.fuel_pressure(m("4100" + "FF")) == 765 * Unit.kilopascal
Example #2
0
def test_fuel_pressure():
	assert d.fuel_pressure("00") == (0, Unit.KPA)
	assert d.fuel_pressure("80") == (384, Unit.KPA)
	assert d.fuel_pressure("FF") == (765, Unit.KPA)
Example #3
0
def test_fuel_pressure():
    assert d.fuel_pressure(m("00")) == (0, Unit.KPA)
    assert d.fuel_pressure(m("80")) == (384, Unit.KPA)
    assert d.fuel_pressure(m("FF")) == (765, Unit.KPA)
Example #4
0
def test_fuel_pressure():
    assert d.fuel_pressure(m("4100" + "00")) == 0 * Unit.kilopascal
    assert d.fuel_pressure(m("4100" + "80")) == 384 * Unit.kilopascal
    assert d.fuel_pressure(m("4100" + "FF")) == 765 * Unit.kilopascal