Example #1
0
 def test_find_sequences_2_abd(self):
     cursor = Cursor([['A', 'B'], [None, 'D']])
     self.assertEqual(cursor.find_sequences(), {('A', 'B')})
Example #2
0
 def test_find_sequences_2_bcd(self):
     cursor = Cursor([[None, 'B'], ['C', 'D']])
     self.assertEqual(cursor.find_sequences(), {('C', 'D')})
Example #3
0
 def test_find_sequences_2_abc(self):
     cursor = Cursor([['A', 'B'], ['C', None]])
     self.assertEqual(cursor.find_sequences(), {('A', 'B')})