

def test_lw_1darray():
    calculated = lw(power)
    real = np.array([90, 70, 50])
    assert_array_almost_equal(calculated, real)

dataset/ETHPy150Open python-acoustics/python-acoustics/tests/test_descriptors.py test_lw_1darray/original