def test_create_first_generation(self):
        pop_size = self.ga.population_size
        self.ga.create_first_generation()
        current_gen = self.ga.current_generation

        assert len(current_gen) == pop_size
        assert isinstance(current_gen[0], type(pyeasyga.Chromosome([1])))
Write more functional test
dataset/ETHPy150Open remiomosowon/pyeasyga/tests/test_pyeasyga.py/TestPyeasyga.test_create_first_generation