mirror of https://git.wownero.com/dsc/mxe.git
26 lines
349 B
C
26 lines
349 B
C
/*
|
|
* This file is part of MXE. See LICENSE.md for licensing information.
|
|
*/
|
|
|
|
#include <aubio/aubio.h>
|
|
|
|
int main(void)
|
|
{
|
|
fvec_t *vec = new_fvec(20);
|
|
|
|
fvec_ones(vec);
|
|
if (vec->data[0] != 1.)
|
|
return 1;
|
|
|
|
fvec_zeros(vec);
|
|
if (vec->data[0] != 0.)
|
|
return 1;
|
|
|
|
fvec_print(vec);
|
|
|
|
del_fvec(vec);
|
|
|
|
return 0;
|
|
}
|
|
|