From 3eacb2f594995811889dbe0e6df96f1909934684 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 3 May 2004 14:16:58 +0000 Subject: [PATCH] Check the right things. git-svn-id: https://svn.dealii.org/trunk@9141 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/block_sparse_matrix_iterator_04.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/bits/block_sparse_matrix_iterator_04.cc b/tests/bits/block_sparse_matrix_iterator_04.cc index bd0b49016a..4ac64830ad 100644 --- a/tests/bits/block_sparse_matrix_iterator_04.cc +++ b/tests/bits/block_sparse_matrix_iterator_04.cc @@ -53,6 +53,16 @@ void test () // make sure that the two of them match Assert (it == it2, ExcInternalError()); + + // interestingly, at the time of writing + // this test, above assertion is ok, but an + // elementwise one is not (we fail in the + // first line) + Assert (it.row() == it2.row(), ExcInternalError()); + Assert (it.block_row() == it2.block_row(), ExcInternalError()); + Assert (it.column() == it2.column(), ExcInternalError()); + Assert (it.block_column() == it2.block_column(), ExcInternalError()); + Assert (it.index() == it2.index(), ExcInternalError()); deallog << "OK" << std::endl; } -- 2.39.5