Exemplo n.º 1
0
        public void TestImplicitConvertionFromString()
        {
            string      dnaSequenceAsString = "AACCGGTGA";
            DnaSequence dnaSequence         = dnaSequenceAsString;

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

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

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