]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also check for equality of addresses.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jun 2002 15:24:14 +0000 (15:24 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jun 2002 15:24:14 +0000 (15:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@5980 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/vector2d.cc

index 3b07c83f2b2f8e16c883d214762e7ec52a1a5b1e..90c27f5506640cd11c740bb17d2a52546200c02c 100644 (file)
@@ -52,6 +52,9 @@ main ()
        Assert (*(Ti[i].begin()+j) == Ti(i,j), ExcInternalError());
        Assert (*(Ti[i].begin()+j) == Td(i,j), ExcInternalError());
 
+       Assert (Td[i].begin()+j == &Td(i,j), ExcInternalError());
+       Assert (Ti[i].begin()+j == &Ti(i,j), ExcInternalError());
+       
        logfile << i << " " << j << " " << Td[i][j] << " ok" << std::endl;
       };
 };

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.