#NEWLINE# def test_chromosome_initialisation_1( self ) : #NEWLINE# #INDENT# chromosome = pyeasyga . Chromosome ( [ 'a' , 'b' , 'c' ] ) #NEWLINE# assert ( chromosome . genes == [ 'a' , 'b' , 'c' ] ) #NEWLINE# assert ( self . fitness == 0 ) #NEWLINE# assert ( str ( chromosome ) == "(0, ['a', 'b', 'c'])" )