#NEWLINE# def test_best_individual( self ) : #NEWLINE# #INDENT# self . ga . create_first_generation ( ) #NEWLINE# ( best_fitness , best_genes ) = self . ga . best_individual ( ) #NEWLINE# assert ( best_fitness == self . ga . current_generation [ 0 ] . fitness ) #NEWLINE# assert ( best_genes == self . ga . current_generation [ 0 ] . genes )