]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Check something more.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 Sep 2002 14:27:47 +0000 (14:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 Sep 2002 14:27:47 +0000 (14:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@6360 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/table.cc

index 1e5e4b2028c7f5d59dcd81b431aba0c1f4af5fa9..306f3de3c7bcef531f68eda675962c3a581b82fc 100644 (file)
@@ -97,6 +97,10 @@ main ()
             
             logfile << i << " " << j << " " << Td[i][j] << " ok" << std::endl;
           };
+
+      for (unsigned int i=0; i<4; ++i)
+        Assert (Td[i].end() - Td[i].begin() == 3,
+                ExcInternalError());
     };
 
 
@@ -157,6 +161,12 @@ main ()
             logfile << i << " " << j << " " << k << " "
                     << Td[i][j][k] << " ok" << std::endl;
           };
+
+      for (unsigned int i=0; i<I; ++i)
+        for (unsigned int j=0; j<J; ++j)
+          Assert (Td[i][j].end() - Td[i][j].begin() ==
+                  static_cast<signed int>(K),
+                  ExcInternalError());
     };
 };
 

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.