File tree 1 file changed +9
-0
lines changed
src/test/scala/com/fulcrumgenomics/util
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,15 @@ class SequencesTest extends UnitSpec {
79
79
Sequences .longestDinuc(" AGTGTGT" ) shouldBe OffsetAndLength (1 , 6 )
80
80
Sequences .longestDinuc(" GGGGGGGG" ) shouldBe OffsetAndLength (0 , 8 )
81
81
Sequences .longestDinuc(" AGCGtagCGCGCgcGCTCTCTatCGCGCA" ) shouldBe OffsetAndLength (6 , 10 )
82
+ Sequences .longestDinuc(" ACACACTCTCTCT" ) shouldBe OffsetAndLength (5 , 8 )
83
+ Sequences .longestDinuc(" " ) shouldBe OffsetAndLength (0 , 0 )
84
+ Sequences .longestDinuc(" ccgTATGC" ) shouldBe OffsetAndLength (0 , 2 )
85
+ Sequences .longestDinuc(" ATATCC" ) shouldBe OffsetAndLength (0 , 4 )
86
+ Sequences .longestDinuc(" CCATATCC" ) shouldBe OffsetAndLength (2 , 4 )
87
+ Sequences .longestDinuc(" ATAC" ) shouldBe OffsetAndLength (0 , 2 )
88
+ Sequences .longestDinuc(" AACC" ) shouldBe OffsetAndLength (0 , 2 )
89
+ Sequences .longestDinuc(" ACGTAAAAAATT" ) shouldBe OffsetAndLength (4 , 6 )
90
+ Sequences .longestDinuc(" ATAT" ) shouldBe OffsetAndLength (0 , 4 )
82
91
}
83
92
84
93
" Sequences.complement" should " return the complement of sequences" in {
You can’t perform that action at this time.
0 commit comments