Example #1
0
 def test_revnum_includes_in(self):
     self.assertTrue(properties.range_includes_revnum([(1, 3, True), (4, 5, True)], 2))
Example #2
0
 def test_revnum_includes_oor(self):
     self.assertFalse(properties.range_includes_revnum([(1, 3, True), (4, 5, True)], 10))
Example #3
0
 def test_revnum_includes_empty(self):
     self.assertFalse(properties.range_includes_revnum([], 2))
Example #4
0
 def test_revnum_includes_in(self):
     self.assertTrue(
         properties.range_includes_revnum([(1, 3, True), (4, 5, True)], 2))
Example #5
0
 def test_revnum_includes_oor(self):
     self.assertFalse(
         properties.range_includes_revnum([(1, 3, True), (4, 5, True)], 10))
Example #6
0
 def test_revnum_includes_empty(self):
     self.assertFalse(properties.range_includes_revnum([], 2))