def METHOD_NAME():
    m = UnitSquareMesh(1, 1)
    V1 = FunctionSpace(m, 'CG', 2)
    V2 = FunctionSpace(m, 'Lagrange', 2)
    assert V1 == V2
    assert V1.topological == V2.topological
    assert V1._shared_data == V2._shared_data