Skip to content
Snippets Groups Projects
Commit 34c649b6 authored by Michael Wedel's avatar Michael Wedel
Browse files

Refs #11417. Add another failing test case

Instead of throwing a size mismatch exception, it throws an out of range exception from V3D.
parent ff00bd10
No related branches found
No related tags found
No related merge requests found
...@@ -438,6 +438,9 @@ public: ...@@ -438,6 +438,9 @@ public:
TS_ASSERT_DELTA(nv.X(), -0.403000000000000, 1e-15); TS_ASSERT_DELTA(nv.X(), -0.403000000000000, 1e-15);
TS_ASSERT_DELTA(nv.Y(), 25.663000000000000, 1e-15); TS_ASSERT_DELTA(nv.Y(), 25.663000000000000, 1e-15);
TS_ASSERT_EQUALS(nv.Z(), 0); 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: private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment