def testRoundTrip(self):
    mesh = IECoreScene.MeshPrimitive.createPlane(imath.Box2f(imath.V2f((- 1)), imath.V2f(1)), imath.V2i(10))
    meshReversed = mesh.copy()
    IECoreScene.MeshAlgo.reverseWinding(meshReversed)
    meshReversedAgain = meshReversed.copy()
    IECoreScene.MeshAlgo.reverseWinding(meshReversedAgain)
    self.assertEqual(mesh, meshReversedAgain)
def testRoundTrip(self):
    mesh = IECoreScene.MeshPrimitive.createPlane(imath.Box2f(imath.V2f((- 1)), imath.V2f(1)), imath.V2i(10))
    meshReversed = mesh.copy()
    IECoreScene.MeshAlgo.reverseWinding(meshReversed)
    meshReversedAgain = meshReversed.copy()
    IECoreScene.MeshAlgo.reverseWinding(meshReversedAgain)
    self.assertEqual(mesh, meshReversedAgain)