public void TestScanRegularCase() { InitVals(); Nucleobase[] seq1 = FrameshiftUtil.StringSeq("CGAUGCC"); // start codon found at index 2 Assert.AreEqual(2, Ribosome.Scan(seq1, start)); }
public void TestScanShortSequence() { InitVals(); Nucleobase[] seq1 = FrameshiftUtil.StringSeq("CG"); Ribosome.Scan(seq1, start); }
public void TestScanNoStart() { InitVals(); Nucleobase[] seq1 = FrameshiftUtil.StringSeq("CGAUCUAGUCGUAGCGU"); Ribosome.Scan(seq1, start); }
public void TestScanLast() { InitVals(); Nucleobase[] seq1 = FrameshiftUtil.StringSeq("CCGAUG"); Assert.AreEqual(3, Ribosome.Scan(seq1, start)); }