You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
349 B
26 lines
349 B
/*
|
|
* 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;
|
|
}
|
|
|