def test_add_revnum_extend_after(self): self.assertEqual([(1, 3, True)], properties.range_add_revnum([(1, 2, True)], 3))
def test_add_revnum_after(self): self.assertEqual([(1, 3, True), (5, 5, True)], properties.range_add_revnum([(1, 3, True)], 5))
def test_add_revnum_extend_before(self): self.assertEqual([(1, 3, True)], properties.range_add_revnum([(2, 3, True)], 1))
def test_add_revnum_before(self): self.assertEqual([(2, 2, True), (8, 8, True)], properties.range_add_revnum([(2, 2, True)], 8))
def test_add_revnum_included(self): self.assertEqual([(1, 3, True)], properties.range_add_revnum([(1, 3, True)], 2))
def test_add_revnum_extend_after(self): self.assertEqual([(1, 3, True)], properties.range_add_revnum([(1, 2, True)], 3))
def test_add_revnum_empty(self): self.assertEqual([(1, 1, True)], properties.range_add_revnum([], 1))
def test_add_revnum_extend_before(self): self.assertEqual([(1, 3, True)], properties.range_add_revnum([(2, 3, True)], 1))
def test_add_revnum_after(self): self.assertEqual([(1, 3, True), (5, 5, True)], properties.range_add_revnum([(1, 3, True)], 5))
def test_add_revnum_included(self): self.assertEqual([(1, 3, True)], properties.range_add_revnum([(1, 3, True)], 2))
def test_add_revnum_before(self): self.assertEqual([(2, 2, True), (8, 8, True)], properties.range_add_revnum([(2, 2, True)], 8))
def test_add_revnum_empty(self): self.assertEqual([(1, 1, True)], properties.range_add_revnum([], 1))