from backend.app.services.pricing import price_trend


def test_price_trend_up():
    assert price_trend([100, 200]) == "up"


def test_price_trend_stable():
    assert price_trend([100, 100]) == "stable"


def test_price_trend_down():
    assert price_trend([300, 200]) == "down"
