public void Get_Different_Node_From_Nodes() { NodeGene n1 = genome.getNodes()[3]; if (genome.getDifferentNode(random, n1, genome.getNodes()) != n1 && genome.getDifferentNode(random, n1, genome.getNodes()) != null) { Assert.Pass(); } Assert.Fail(); }
public void Get_Different_Node_From_Nodes() { NodeGene n1 = genome.getNodes()[3]; if (genome.getDifferentNode(random, n1, genome.getNodes()) != n1 && genome.getDifferentNode(random, n1, genome.getNodes()) != null) { Assert.Pass(); } Assert.Fail(); }