def test_get_data_transposed(self): a = MatrixPointer([1, 3, 5, 2, 4, 6], (2, 3), transpose=True) self.assertEqual(a.get_data(), [1, 2, 3, 4, 5, 6])