diff --git a/Code/Mantid/Framework/Kernel/test/MatrixTest.h b/Code/Mantid/Framework/Kernel/test/MatrixTest.h index e3438cc49d4db94ddd60cc0e3eb77b753cac9210..d27c2752545a5db01a97b8d5f1eaa373d09d14bc 100644 --- a/Code/Mantid/Framework/Kernel/test/MatrixTest.h +++ b/Code/Mantid/Framework/Kernel/test/MatrixTest.h @@ -438,6 +438,9 @@ public: TS_ASSERT_DELTA(nv.X(), -0.403000000000000, 1e-15); TS_ASSERT_DELTA(nv.Y(), 25.663000000000000, 1e-15); TS_ASSERT_EQUALS(nv.Z(), 0); + + DblMatrix M43 = boost::lexical_cast<DblMatrix>("Matrix(4,3)-0.23,0.55,5.22,2.96,4.2,0.1,-0.23,0.55,5.22,2.96,4.2,0.1"); + TS_ASSERT_THROWS(M43.operator *(v), Mantid::Kernel::Exception::MisMatch<size_t>); } private: