Skip to content
Snippets Groups Projects
Commit e0ebff8a authored by Christian Engwer's avatar Christian Engwer
Browse files

add istream operator test to fvectortest

[[Imported from SVN: r6127]]
parent cfac6397
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,16 @@ protected:
// test comparison
b = (w != v);
b = (w == v);
// test istream operator
std::stringstream s;
for (int i=0; i<d; i++)
{
s << i << " ";
v[i] = i;
}
s >> w;
assert(v == w);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment