def METHOD_NAME():
    C = np.ones(100)
    E = np.arange(101)
    assert_array_almost_equal(integrate_ROI_spectrum(E, C, 5, 6), 1)
    assert_array_almost_equal(integrate_ROI_spectrum(E, C, 5, 11), 6)
    assert_array_almost_equal(integrate_ROI_spectrum(E, C, [5, 17], [11, 23]), 12)