From 7ddbfc01a9822d131df737e98b839ec61b0352aa Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 3 Jun 2002 15:24:14 +0000 Subject: [PATCH] Also check for equality of addresses. git-svn-id: https://svn.dealii.org/trunk@5980 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/vector2d.cc | 3 +++ 1 file changed, 3 insertions(+) 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; }; }; -- 2.39.5