def METHOD_NAME():
    """Test update with different values"""
    pbr = progress(total=10, desc='update')
    assert pbr.n == 0
    pbr.update(1)
    pbr.refresh()  # not sure why this has to be called manually here
    assert pbr.n == 1
    pbr.update(2)
    pbr.refresh()
    assert pbr.n == 3
    pbr.update()
    pbr.refresh()
    assert pbr.n == 4
    with assert_progress_added_to_all(pbr):
        pbr.close()