Skip to content

Commit 5ee9bf5

Browse files
committed
add shape-check
1 parent a22febb commit 5ee9bf5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_edc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,11 @@ def test_multidim_edc(edc_function):
112112
"""
113113
rir = pf.signals.files.room_impulse_response()
114114
rir_oct = pf.dsp.filter.fractional_octave_bands(rir, 1)
115+
shape = rir_oct.time.shape
115116
edc = edc_function(rir_oct)
116117

117118
npt.assert_array_equal(
118119
np.isfinite(edc.time[..., :int(rir.sampling_rate*0.4)]), True)
119120

121+
assert shape == edc.time.shape
122+

0 commit comments

Comments
 (0)