Esempio n. 1
0
 public void Check_Connection_Weights()
 {
     Assert.AreEqual(-0.9f, genome.getConnections()[genome.getInnovationNumbers()[0]].getWeight());
 }
Esempio n. 2
0
 public void Innovation_After_Connection_Mutation()
 {
     genome.addConnectionMutation(random);
     Assert.AreEqual(6, genome.getConnections()[genome.getInnovationNumbers()[genome.getInnovationNumbers().Count - 1]].getInnovationNumber());
 }