#NEWLINE# def test_create_individual( self ) : #NEWLINE# #INDENT# data = self . ga . seed_data #NEWLINE# individual = self . ga . create_individual ( data ) #NEWLINE# assert ( len ( individual ) == 5 ) #NEWLINE# assert all ( [ ( ind in ( 0 , 1 ) ) for ind in individual if ( self in ( 0 , 1 ) ) ] )