Test: [skip ci] test matrix element order

This commit is contained in:
wmayer
2022-05-17 11:47:40 +02:00
parent 72e464b1cc
commit 4ea3c8678b

View File

@@ -369,6 +369,13 @@ class MatrixTestCase(unittest.TestCase):
def setUp(self):
self.mat = FreeCAD.Matrix()
def testOrder(self):
self.mat = FreeCAD.Matrix(1.0,2.0,3.0,4.0)
self.assertEqual(self.mat.A11, 1.0)
self.assertEqual(self.mat.A12, 2.0)
self.assertEqual(self.mat.A13, 3.0)
self.assertEqual(self.mat.A14, 4.0)
def testScalar(self):
res = self.mat * 0.0
for i in range(16):