def test_mutate_is_implemented(self): """ Ensures that we have a mutate method implemented. """ genome = Genome(["c", "a", "t"]) self.assertNotEqual(NotImplemented, genome.mutate(2, 0.2, ["d", "o", "g"]))
def test_mutate_is_implemented(self): """ Ensures that we have a mutate method implemented. """ genome = Genome(['c', 'a', 't']) self.assertNotEqual(NotImplemented, genome.mutate(2, 0.2, ['d', 'o', 'g']))
def test_mutate_is_implemented(self): """ Ensures that we have a mutate method implemented. """ genome = Genome(['c', 'a', 't']) self.assertNotEqual(NotImplemented, genome.mutate(2, 0.2, ['d', 'o', 'g']))