コード例 #1
0
 def test_does_not_remove_unclosed_overhang(self):
     self.assertEquals(remove_overhangs('(atg/aa'), '(atg/aa')
     self.assertEquals(remove_overhangs('atg/aa)'), 'atg/aa)')
コード例 #2
0
 def test_works_with_single_char_input(self):
     self.assertEquals(remove_overhangs(')'), ')')
     self.assertEquals(remove_overhangs('('), '(')
コード例 #3
0
 def test_removes_front_and_back(self):
     self.assertEquals(remove_overhangs('(atg/)aa(atg/)'), 'aa')
コード例 #4
0
 def test_does_not_remove_internal_overhang(self):
     self.assertEquals(remove_overhangs('(atg/)a(atg/)a(atg/)'), 'a(atg/)a')
コード例 #5
0
ファイル: test_recombine.py プロジェクト: Chris7/edge
 def test_works_with_single_char_input(self):
     self.assertEquals(remove_overhangs(')'), ')')
     self.assertEquals(remove_overhangs('('), '(')
コード例 #6
0
 def test_removes_back_overhang(self):
     self.assertEquals(remove_overhangs('aa(atg/)'), 'aa')
コード例 #7
0
ファイル: test_recombine.py プロジェクト: Chris7/edge
 def test_does_not_remove_internal_overhang(self):
     self.assertEquals(remove_overhangs('(atg/)a(atg/)a(atg/)'), 'a(atg/)a')
コード例 #8
0
ファイル: test_recombine.py プロジェクト: Chris7/edge
 def test_does_not_remove_unclosed_overhang(self):
     self.assertEquals(remove_overhangs('(atg/aa'), '(atg/aa')
     self.assertEquals(remove_overhangs('atg/aa)'), 'atg/aa)')
コード例 #9
0
ファイル: test_recombine.py プロジェクト: Chris7/edge
 def test_removes_back_overhang(self):
     self.assertEquals(remove_overhangs('aa(atg/)'), 'aa')
コード例 #10
0
ファイル: test_recombine.py プロジェクト: Chris7/edge
 def test_removes_front_and_back(self):
     self.assertEquals(remove_overhangs('(atg/)aa(atg/)'), 'aa')
コード例 #11
0
 def test_works_with_single_char_input(self):
     self.assertEquals(remove_overhangs(")"), ")")
     self.assertEquals(remove_overhangs("("), "(")
コード例 #12
0
 def test_does_not_remove_unclosed_overhang(self):
     self.assertEquals(remove_overhangs("(atg/aa"), "(atg/aa")
     self.assertEquals(remove_overhangs("atg/aa)"), "atg/aa)")
コード例 #13
0
 def test_does_not_remove_internal_overhang(self):
     self.assertEquals(remove_overhangs("(atg/)a(atg/)a(atg/)"), "a(atg/)a")
コード例 #14
0
 def test_removes_front_and_back(self):
     self.assertEquals(remove_overhangs("(atg/)aa(atg/)"), "aa")
コード例 #15
0
 def test_removes_back_overhang(self):
     self.assertEquals(remove_overhangs("aa(atg/)"), "aa")