Example #1
0
        public void TestImplicitConvertionFromString()
        {
            string      dnaSequenceAsString = "AACCGGTGA";
            DnaSequence dnaSequence         = dnaSequenceAsString;

            Assert.AreEqual(dnaSequenceAsString, dnaSequence.PrintSequence());
        }
Example #2
0
        public void TestDnaSequenceCreationFromInitializer()
        {
            DnaSequence dnaSequence = new DnaSequence()
            {
                "A", "C", "C", "T"
            };

            Assert.AreEqual("ACCT", dnaSequence.PrintSequence());
        }
Example #3
0
        public void TestSequencePrinting()
        {
            DnaSequence dnaSequence = new DnaSequence("AACCGTCT");

            Assert.AreEqual("AACCGTCT", dnaSequence.PrintSequence());
        }