def METHOD_NAME():
    from muse.carbon_budget import update_carbon_budget
    year = 0
    carbonbudget = np.array([4e6, 5e6, 6e6], dtype=int)
    emissions = int(5.3e6)
    expected = int(5.7e6)
    actual = update_carbon_budget(carbonbudget, emissions, year, over=True, under=False)
    assert expected == actual
    emissions = int(4e6)
    expected = int(6e6)
    actual = update_carbon_budget(carbonbudget, emissions, year, over=True, under=False)
    assert expected == actual