#include "utils_tests.h"
{
for (i = 0; i < vec->
length; i++) {
assert(vec->
data[i] == scalar);
}
}
int main (void)
{
assert (vec);
assert (other_vec);
assert(vec->
length == length);
for ( i = 0; i < vec->
length; i++ ) {
assert(vec->
data[i] == 0.);
}
assert_fvec_all_equal(vec, 1.);
assert_fvec_all_equal(vec, 0.);
for ( i = 0; i < vec->
length; i++ ) {
assert(vec->
data[i] == i);
}
if (vec)
if (other_vec)
return 0;
}