def METHOD_NAME(self):
    # Arrange
    indicator = Pressure(10, MovingAverageType.EXPONENTIAL)
    bar = TestDataStubs.bar_5decimal()
    # Act
    indicator.handle_bar(bar)
    # Assert
    assert indicator.has_inputs
    assert indicator.value == pytest.approx(0.333333333328399, rel=1e-9)