def test_add_data_object(self):
		from grease.component import Component
		c = Component(sweat=int, odor=str)
		c.set_world(world)
		class Data: pass
		d = Data()
		d.sweat = 100
		d.odor = "rank"
		entity = TestEntity()
		ed = c.set(entity, d)
		self.assertTrue(c in entity)
		self.assertEqual(ed.sweat, 100)
		self.assertEqual(ed.odor, "rank")
dataset/ETHPy150Open caseman/grease/test/component_test.py/GeneralTestCase.test_add_data_object/swapped operands of `in`