Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_ao():
"""test TA.AO"""
ao = TA.AO(ohlc)
assert isinstance(ao, series.Series)
assert ao.values[-1] == -957.63459032713035