Beispiel #1
0
 public void Test5()
 {
     var mktChromosome = new MktChromosome();
     for (int i = 0; i < 10; i++)
     {
         var config = new RnadomMKTConfigGenerator()
             .GenerateEntityArgs(1)
             .Cast<MKT_Config>()
             .First();
         var code = mktChromosome.EntityArgsToCode(config);
         var config2 = mktChromosome.CodeToEntityArgs(code);
         Assert.AreEqual(config.ToString(), config2.Args.ToString());
     }
 }
Beispiel #2
0
 public MktGenom()
 {
     cromosomeCreator = new MktChromosome();
 }