]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add more checks to test
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Aug 2012 21:16:17 +0000 (21:16 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Aug 2012 21:16:17 +0000 (21:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@26090 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/trilinos_02.cc

index 55b0679bfbab8da7f33b3bdb53df96d9f19ccad5..7de100a05b396ff88ab8503cfb13797c5fb19e39 100644 (file)
@@ -63,6 +63,12 @@ void test ()
   TrilinosWrappers::MPI::Vector v4=v2;
   check(v4, true);
 
+  v4 = v;
+  check(v4, true); //this only copies contents!
+
+  v4 = v2;
+  check(v4, true);
+
   TrilinosWrappers::MPI::Vector v5(v2);
   check(v5, true);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.