From 34c649b632afeb951b25d1e1ed1f959d9f1b052a Mon Sep 17 00:00:00 2001
From: Michael Wedel <michael.wedel@psi.ch>
Date: Sat, 21 Mar 2015 16:31:54 +0100
Subject: [PATCH] Refs #11417. Add another failing test case

Instead of throwing a size mismatch exception, it throws an out of range exception from V3D.
---
 Code/Mantid/Framework/Kernel/test/MatrixTest.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Code/Mantid/Framework/Kernel/test/MatrixTest.h b/Code/Mantid/Framework/Kernel/test/MatrixTest.h
index e3438cc49d4..d27c2752545 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:
-- 
GitLab