Exemplo n.º 1
0
        public void Make_Node_One_Point_To_Node_Two()
        {
            NodeGene n1 = new NodeGene(NodeGene.NodeType.HIDDEN, 0);
            NodeGene n2 = new NodeGene(NodeGene.NodeType.INPUT, 1);

            genome.makeN1PointToN2(ref n1, ref n2);
            Assert.AreEqual(NodeGene.NodeType.HIDDEN, n2.getNodeType());
        }