示例#1
0
 def test_create_random_genotype(self):
     genotype = rvvo._create_random_genotype()
     self.assertEqual(rvvo.LENGTH, len(genotype))
 def test_create_random_genotype(self):
     vector_genotype = rvvo._create_random_genotype()
     self.assertEqual(rvvo.LENGTH, len(vector_genotype))
     array_genotype = arr._create_random_genotype()
     self.assertEqual(arr.LENGTH, array_genotype.shape[0])
 def test_create_random_genotype(self):
     genotype = rvvo._create_random_genotype()
     self.assertEqual(rvvo.LENGTH, len(genotype))