def test_function_lobato(ri_model):
    elements = ["Cu"]
    fracs = [1]
    sc_component = ScatteringFitComponentLobato(elements, fracs, N=1.0, C=0.0)
    ri_model.append(sc_component)
    ri_model.fit()
def test_scattering_component_init_lobato():
    ref = ScatteringFitComponentLobato(["Cu"], [1], N=1.0, C=0.0)
    assert isinstance(ref, ScatteringFitComponentLobato)