

def test_eq(self):
    '\n        Ensures that only the chromosome is used for equality.\n        '
    x = Genome([1, 2, 3])
    y = Genome([1, 2, 3])
    z = Genome([3, 2, 1])
    z.assertEqual(x, y)
    self.assertNotEqual(x, z)

dataset/ETHPy150Open ntoll/foox/test/test_ga.py TestGenome.test_eq/VarMisuse@51/80 `self`->`z`