def test_returns_genome_with_unfit_population(self):

        class Genome(object):
            """
            A simple representation of a genome.
            """

            def __init__(self, fitness):
                self.fitness = fitness

        population = [Genome(0.0) for i in range(4)]
        result = roulette_wheel_selection(population)
        self.assertIsInstance(result, Genome,
            "Expected result of roulette_wheel_selection is not a Genome")
Ensures that the roulette wheel returns a randomly selected genome if
dataset/ETHPy150Open ntoll/foox/test/test_ga.py/TestRouletteWheelSelection.test_returns_genome_with_unfit_population