def METHOD_NAME(self):
    """Verify that encoding using xelligatorswift decodes back using xswiftec."""
    for _ in range(32):
        while True:
            # Loop until we find a valid X coordinate on the curve.
            x = FE(random.randrange(1, FE.SIZE))
            if GE.is_valid_x(x):
                break
        # Encoding it to (u, t), decode it back, and compare.
        u, t = xelligatorswift(x)
        x2 = xswiftec(u, t)
        self.assertEqual(x2, x)