예제 #1
0
        public void TestEvolution()
        {
            DnaSequence dnaSequence     = new DnaSequence("AAA");
            DnaSequence evolvedSequence = DnaSequenceEvolver.evolver.Evolve(dnaSequence, 1);

            Assert.AreEqual(dnaSequence.Size(), evolvedSequence.Size());
        }
예제 #2
0
        public void TestSizeGetting()
        {
            DnaSequence dnaSequence = new DnaSequence("AAGC");

            Assert.AreEqual(4, dnaSequence.Size());
        }