def METHOD_NAME():
    m = UnitSquareMesh(1, 1)
    e = ExtrudedMesh(m, 2, layer_height=1)
    U0 = FiniteElement('DG', 'triangle', 0)
    U1 = FiniteElement('CG', 'interval', 2)
    W0 = TensorProductElement(U0, U1)
    W1 = FunctionSpace(e, HDiv(W0))
    U0 = FiniteElement('DG', 'triangle', 0)
    U1 = FiniteElement('CG', 'interval', 2)
    W0 = TensorProductElement(U0, U1)
    W2 = FunctionSpace(e, HDiv(W0))
    assert W1 == W2
    assert W1.topological == W2.topological
    assert W1._shared_data == W2._shared_data