def METHOD_NAME():
    m = UnitSquareMesh(1, 1)
    e = ExtrudedMesh(m, 2, layer_height=1)
    U0 = FiniteElement('DG', 'triangle', 0)
    U1 = FiniteElement('CG', 'interval', 2)
    V0 = TensorProductElement(U0, U1)
    V1 = FunctionSpace(e, HDiv(V0))
    U0 = FiniteElement('CG', 'triangle', 1)
    U1 = FiniteElement('DG', 'interval', 2)
    V0 = TensorProductElement(U0, U1)
    V2 = FunctionSpace(e, HCurl(V0))
    W1 = V1*V2
    W2 = V2*V1
    assert W1 != W2