def METHOD_NAME():
    """Test ear.process"""
    np.random.seed(0)
    signal = np.random.rand(500)
    ear = Ear()
    # Can process with audiogram
    processed_signals = ear.process(signal)
    assert len(processed_signals) == 1
    assert processed_signals[0].shape == (500,)  # same length as input signal
    assert np.sum(np.abs(processed_signals[0])) == pytest.approx(
        0.3250822358794586, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )
    ear.set_audiogram(audiogram=AUDIOGRAM_MODERATE_SEVERE)
    processed_signals = ear.process(signal)
    assert len(processed_signals) == 1
    assert processed_signals[0].shape == (704,)  # longer than input due to smearing
    assert np.sum(np.abs(processed_signals[0])) == pytest.approx(
        0.5448164192836198, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )
    signal2 = np.random.rand(500, 2)
    processed_signals = ear.process(signal2)
    assert len(processed_signals) == 2
    assert processed_signals[0].shape == (704,)
    assert processed_signals[1].shape == (704,)
    assert np.sum(np.abs(processed_signals[0])) == pytest.approx(
        0.4983800098691009, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )
    assert np.sum(np.abs(processed_signals[1])) == pytest.approx(
        0.514370533984153, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )
    signal1 = np.random.rand(500, 1)
    processed_signals = ear.process(signal1)
    assert len(processed_signals) == 1
    assert processed_signals[0].shape == (704,)
    assert np.sum(np.abs(processed_signals[0])) == pytest.approx(
        0.5840767608116147, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )
    signal = np.random.rand(500)
    processed_signals = ear.process(signal, add_calibration=True)
    assert len(processed_signals) == 1
    assert processed_signals[0].shape == (119808,)
    assert np.sum(np.abs(processed_signals[0])) == pytest.approx(
        48480.61370282146, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )