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