def METHOD_NAME(dataframe):
    """Test inflation calculation works when providing country name."""
    initialval = dataframe["a"].sum()
    # Pulled raw values from API website for USA 2018 and 2015
    inflator = _inflate_currency(
        "United States", currency_year=2018, to_year=2015
    )
    df = dataframe.inflate_currency(
        "a",
        country="United States",
        currency_year=2018,
        to_year=2015,
        make_new_column=True,
    )
    updatedval = df["a_2015"].sum()
    assert (initialval * inflator) == pytest.approx(updatedval)