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

add copy-constructor test to fvectortest

[[Imported from SVN: r6122]]
parent 6eea4d89
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ protected:
FieldVectorMainTest() {
FieldVector<ct,d> v(1);
FieldVector<ct,d> w(2);
FieldVector<ct,d> z(2);
bool b;
// Test whether the norm methods compile
......@@ -26,6 +27,10 @@ protected:
(w+v).infinity_norm();
(w+v).infinity_norm_real();
z = v + w;
z = v - w;
FieldVector<ct,d> z2 = v + w;
b = (w != v);
b = (w == v);
w=v;
......
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