From: wolf Date: Mon, 14 Dec 1998 08:23:59 +0000 (+0000) Subject: Restore initial state, after abusing this testcase as a testbed for X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e452c13e4aed59f60b89d9891524d81bfdb2a7;p=dealii-svn.git Restore initial state, after abusing this testcase as a testbed for the new exception mechanism. git-svn-id: https://svn.dealii.org/trunk@708 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/tensor.cc b/tests/base/tensor.cc index c49fe232f2..23429aff34 100644 --- a/tests/base/tensor.cc +++ b/tests/base/tensor.cc @@ -2,26 +2,9 @@ #include -DeclException2 (Exc1, - int, int, - << "arg1=" << arg1 << " arg2=" << arg2); - - int main () { double a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}}; double b[3][3] = {{25,31,37}, {45,57,69}, {75,96,117}}; - - try - { - ThrowIfNot (1>2, Exc1(1,2)); - cerr << "11111111111111111111"; - } - catch (exception &e) - { - cerr << e.what(); - cerr << "33333333333333333333"; - }; - const unsigned int dim=3; Tensor<2,dim> t(a);