bmcfee / muda

A library for augmenting annotated audio data
ISC License
230 stars 33 forks source link

Errors in tests #53

Closed mcartwright closed 7 years ago

mcartwright commented 7 years ago

While adding tests for #40, I noticed what seem to be a couple of errors in the test_deformers.py.

In test_linear_pitchshift, shouldn't assert lower <= d_tones <= 2.0**upper be assert lower <= d_tones <= upper?

also, in __test_effect, I think you intend for there to be an assert there, correct? i.e. ann_orig == ann_new -> assert ann_orig == ann_new

bmcfee commented 7 years ago

Thanks for catching that!