public void CopyTest() { IGene gene = new Gene(new Node(NodeType.Hidden), new Node(NodeType.Hidden), 1); IGene copiedGene = gene.Copy(); Assert.AreEqual(gene.Innovation, copiedGene.Innovation); Assert.AreEqual(gene.IsExpressed, copiedGene.IsExpressed); Assert.AreEqual(gene.NodeIn.Id, copiedGene.NodeIn.Id); Assert.AreEqual(gene.NodeOut.Id, copiedGene.NodeOut.Id); Assert.AreEqual(gene.Weight, copiedGene.Weight); }