Пример #1
0
 def test_get_mutant_genotype(self):
     genotype = [0, 0]
     mutated_genotype = rvvo._get_mutated_genotype(genotype, 10)
     self.assertNotEqual(genotype, mutated_genotype)
 def test_get_mutant_genotype(self):
     genotype = [0,0]
     vector_mutated_genotype = rvvo._get_mutated_genotype(genotype, 10)
     self.assertNotEqual(genotype, vector_mutated_genotype)
     array_mutated_genotype = arr._get_mutated_genotype(arr.RealValueVectorOrg(genotype).genotype, 10)
     self.assertNotEqual((arr.RealValueVectorOrg(genotype).genotype==array_mutated_genotype).all(), True)
 def test_get_mutant_genotype(self):
     genotype = [0,0]
     mutated_genotype = rvvo._get_mutated_genotype(genotype, 10)
     self.assertNotEqual(genotype, mutated_genotype)