#include "utils_tests.h"
int main (void)
{
assert(complex_vector->
length == window_size / 2 + 1);
for ( i = 0; i < complex_vector->
length; i++ ) {
assert( complex_vector->
norm[i] == 0. );
assert( complex_vector->
phas[i] == 0. );
}
for ( i = 0; i < complex_vector->
length; i++ ) {
assert( complex_vector->
norm[i] == 0. );
assert( complex_vector->
phas[i] == 0. );
}
for ( i = 0; i < complex_vector->
length; i++ ) {
assert( complex_vector->
norm[i] == 1. );
}
for ( i = 0; i < complex_vector->
length; i++ ) {
assert( complex_vector->
norm[i] == 0. );
}
for ( i = 0; i < complex_vector->
length; i++ ) {
assert( complex_vector->
phas[i] == 1. );
}
for ( i = 0; i < complex_vector->
length; i++ ) {
assert( complex_vector->
phas[i] == 0. );
}
other_cvector =
new_cvec(window_size + 2);
if (complex_vector)
if (other_cvector)
return 0;
}