def METHOD_NAME(self):
    "Test ML.PyMatrix constructor"
    rows = self.matrix.GetRowSpace().GetMyGlobalElements()
    for row in rows:
        if row > 0:
            self.assertEqual(self.matrix[row, row-1], 1)
        self.assertEqual(self.matrix[row,row], -2)
        if row < 10*self.comm.NumProc()-1:
            self.assertEqual(self.matrix[row, row+1], 1)