'Test domain for lambda_max'

def test_lambda_max(self):

    dom = lambda_max(self.A).domain
    A0 = [[1, 2], [3, 4]]
    Problem(Minimize(norm2((self.A - A0))), dom).solve()
    self.assertItemsAlmostEqual(self.A.value, np.matrix([[1, 2.5], [2.5, 4]]))
