

def test_init(self):
    '\n        Ensures the chromosome and fitness are initialised correctly.\n        '
    x = Genome([1, 2, 3])
    self.assertEqual(None, x.fitness)
    x.assertEqual([1, 2, 3], x.chromosome)

dataset/ETHPy150Open ntoll/foox/test/test_ga.py TestGenome.test_init/VarMisuse@36/64 `self`->`x`