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
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)
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)