Example #1
0
 def test_consecutive_over_origin1(self):
     s1 = Span(7, 0, 10, True)
     s2 = Span(0, 2, 10, True)
     assert s1.consecutive(s2)
     assert not s2.consecutive(s1)
Example #2
0
 def test_not_consecutive(self):
     s1 = Span(20, 80, 100, True)
     s2 = Span(80, 95, 100, True)
     assert s1.consecutive(s2)
     assert not s2.consecutive(s1)