#include <assert.h>
int main ()
{
assert(vec->
length == vec_size);
for ( i = 0; i < vec->
length; i++ ) {
assert(vec->
data[i] == 0.);
}
for ( i = 0; i < vec->
length; i++ ) {
assert(vec->
data[i] == 0.);
}
for ( i = 0; i < vec->
length; i++ ) {
assert(vec->
data[i] == 1.);
}
for ( i = 0; i < vec->
length; i++ ) {
assert(vec->
data[i] == i);
}
return 0;
}