public void TestImplicitConvertionFromString() { string dnaSequenceAsString = "AACCGGTGA"; DnaSequence dnaSequence = dnaSequenceAsString; Assert.AreEqual(dnaSequenceAsString, dnaSequence.PrintSequence()); }
public void TestDnaSequenceCreationFromInitializer() { DnaSequence dnaSequence = new DnaSequence() { "A", "C", "C", "T" }; Assert.AreEqual("ACCT", dnaSequence.PrintSequence()); }
public void TestSequencePrinting() { DnaSequence dnaSequence = new DnaSequence("AACCGTCT"); Assert.AreEqual("AACCGTCT", dnaSequence.PrintSequence()); }