'Test that the legacy name semidefinite works.'

def test_legacy(self):

    X = semidefinite(2)
    obj = Minimize(sum_entries(square((X - self.F))))
    p = Problem(obj, [])
    result = p.solve()
    self.assertAlmostEqual(result, 1, places=4)
