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