From: wolf Date: Mon, 3 Jun 2002 15:24:14 +0000 (+0000) Subject: Also check for equality of addresses. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ddbfc01a9822d131df737e98b839ec61b0352aa;p=dealii-svn.git Also check for equality of addresses. git-svn-id: https://svn.dealii.org/trunk@5980 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/vector2d.cc b/tests/base/vector2d.cc index 3b07c83f2b..90c27f5506 100644 --- a/tests/base/vector2d.cc +++ b/tests/base/vector2d.cc @@ -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; }; };