From: wolf Date: Mon, 3 May 2004 14:16:58 +0000 (+0000) Subject: Check the right things. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cde735b2cc98f307b17aa3975d626116708cd1f2;p=dealii-svn.git Check the right things. git-svn-id: https://svn.dealii.org/trunk@9141 0785d39b-7218-0410-832d-ea1e28bc413d --- 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; }