Exemplo n.º 1
0
 def test_shift_negative(self, CellRange):
     cr = CellRange("A1:B4")
     with pytest.raises(ValueError):
         cr.shift(-1, 2)
Exemplo n.º 2
0
 def test_shift(self, CellRange):
     cr = CellRange("A1:B4")
     cr.shift(1, 2)
     assert cr.coord == "B3:C6"