Changeset 099776d for tests


Ignore:
Timestamp:
Nov 26, 2018, 11:49:03 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
6091189
Parents:
804c8eb
Message:

[tests] increase pvoc coverage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/spectral/test-phasevoc.c

    r804c8eb r099776d  
    1313  // allocate fft and other memory space
    1414  aubio_pvoc_t * pv = new_aubio_pvoc(win_s,hop_s);
     15
     16  if (new_aubio_pvoc(win_s, 0)) return 1;
     17
     18  if (aubio_pvoc_get_win(pv) != win_s) return 1;
     19  if (aubio_pvoc_get_hop(pv) != hop_s) return 1;
     20
     21  if (aubio_pvoc_set_window(pv, "hanningz") != 0) return 1;
    1522
    1623  // fill input with some data
Note: See TracChangeset for help on using the changeset viewer.