def test__select_child():
    dictionary= reproduction._build_dictionary(params)
    total_fitness = reproduction._total_fitness(dictionary)
    asseted_child = reproduction._select_child(dictionary, total_fitness, params)
    assert isinstance(asseted_child, str)
def test__total_fitness():
    dictionary= reproduction._build_dictionary(params)
    asserted_total = reproduction._total_fitness(dictionary)
    assert not isinstance(asserted_total, str)