

def test_len(self):
    '\n        The __len__ function returns the length of the chromosome.\n        '
    x = Genome([1, 2, 3])
    x.assertEqual(3, len(x))

dataset/ETHPy150Open ntoll/foox/test/test_ga.py TestGenome.test_len/VarMisuse@25/53 `self`->`x`