We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3beebf commit c19f4a6Copy full SHA for c19f4a6
math/matrix/test/testMatrixT.cxx
@@ -11,9 +11,9 @@
11
#include <TMatrixD.h>
12
#include <TMatrixDSym.h>
13
#include <TMatrixF.h>
14
-#include <TMatrixFSym.h>
15
#include <TMatrixDEigen.h>
16
+#include <ROOT/TestSupport.hxx>
17
#include <gtest/gtest.h>
18
19
#include <iostream>
@@ -217,3 +217,12 @@ TEST_F(testMatrixD, Eigen)
217
218
CompareTMatrix(B, C);
219
}
220
+
221
+TEST_F(testMatrixDSym, IsSymmetric)
222
+{
223
+ using ROOT::TestSupport::CheckDiagsRAII;
224
+ Double_t edata[] = {1, 2, 3, 4};
225
+ CheckDiagsRAII diags;
226
+ diags.requiredDiag(kError, "SetMatrixArray", "Matrix is not symmetric after Set");
227
+ TMatrixDSym m(2, edata);
228
+}
0 commit comments