]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Adjust tests.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 6 Oct 2017 03:44:59 +0000 (21:44 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 6 Oct 2017 03:44:59 +0000 (21:44 -0600)
tests/base/aligned_vector_04.cc
tests/base/aligned_vector_04.output
tests/base/table_06.cc
tests/base/table_06.output

index ad590c5b07f069c4d5b52fcddd9478218e0999d3..7363c1af25fc6cd97ea7bd9b756b7ef994039981 100644 (file)
@@ -46,6 +46,14 @@ public:
     deallog << "Construct object" << std::endl;
   }
 
+  Function(const Function &f)
+    :
+    size_ (f.size_),
+    vec (f.vec)
+  {
+    deallog << "Copy construct object" << std::endl;
+  }
+
   ~Function()
   {
     deallog << "Destruct with size " << vec.size() << std::endl;
index be5adf2852dc05f46b61555dcdd68b39e04d9f9b..22b320c00063d474935763ed6aea1ef74dd0a006 100644 (file)
@@ -1,18 +1,17 @@
 
 DEAL::Construct object
-DEAL::Destruct with size 0
+DEAL::Construct object
 DEAL::Resize vector to 2
 DEAL::Resize vector to 2
 DEAL::Resize vector to 3
 DEAL::Construct object
 DEAL::Destruct with size 0
-DEAL::Construct object
-DEAL::Destruct with size 0
 DEAL::Destruct with size 0
 DEAL::Resize vector to 2
-DEAL::Construct object
+DEAL::Copy construct object
 DEAL::Destruct with size 2
-DEAL::Destruct with size 0
+DEAL::Construct object
+DEAL::Construct object
 DEAL::Resize vector to 3
 DEAL::Construct object
 DEAL::Destruct with size 0
index 612e38e383a0c7dd6a9bba6fbf0de1f7441109ed..24c3f6c7d274ed00d0f3445d13b737d74fc20d55 100644 (file)
@@ -46,6 +46,14 @@ public:
     deallog << "Construct object" << std::endl;
   }
 
+  Function (const Function &f)
+    :
+    size_ (f.size_),
+    vec (f.vec)
+  {
+    deallog << "Copy construct object" << std::endl;
+  }
+
   ~Function()
   {
     deallog << "Destruct with size " << vec.size() << std::endl;
index b026ea2643a891dd237a907535890518556c08b3..54aa661dc753842c65c76cf2d3f66d96211f7388 100644 (file)
@@ -1,6 +1,6 @@
 
 DEAL::Construct object
-DEAL::Destruct with size 0
+DEAL::Construct object
 DEAL::Resize vector to 2
 DEAL::Resize vector to 2
 DEAL::Destruct with size 2
@@ -8,11 +8,11 @@ DEAL::Construct object
 DEAL::Destruct with size 0
 DEAL::Resize vector to 2
 DEAL::Resize vector to 3
-DEAL::Construct object
 DEAL::Destruct with size 3
-DEAL::Destruct with size 0
 DEAL::Construct object
-DEAL::Destruct with size 0
+DEAL::Construct object
+DEAL::Construct object
+DEAL::Construct object
 DEAL::Resize vector to 2
 DEAL::Destruct with size 0
 DEAL::Destruct with size 0

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.