def METHOD_NAME(self):
    lineedge = transform.SimplexEdge(1, 0, False)
    for edge in transform.TensorEdge1(lineedge, 1), transform.TensorEdge2(1, lineedge):
        with self.subTest(type(edge).__name__):
            idnt = transform.Index(1, 0)
            self.assertEqual(edge.swapup(idnt), None)