def testAffects( self ) :

		c = GafferImage.Crop()

		self.assertEqual(
			set( c.affects( c["affectDisplayWindow"] ) ),
			{ c["out"]["format"], c["out"]["dataWindow"], c["__offset"]["x"], c["__offset"]["y"] }
		)

		self.assertEqual(
			set( c.affects( c["affectDataWindow"] ) ),
			{ c["out"]["dataWindow"] }
		)

		self.assertTrue( c["out"]["dataWindow"] in set( c.affects( c["in"]["dataWindow"] ) ) )
		self.assertTrue( c["out"]["format"] not in set( c.affects( c["in"]["format"] ) ) )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferImageTest/CropTest.py/CropTest.testAffects/operator `in` -> `not in`