We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb20e90 commit dbcb746Copy full SHA for dbcb746
tests/test_merged_cells.py
@@ -1,6 +1,6 @@
1
import os
2
from pyexcel_xlsx import get_data
3
-from pyexcel_xlsx.xlsxr import MergedCell
+from pyexcel_xlsx.xlsxr import MergedCell, convert_coordinate
4
from nose.tools import eq_
5
6
@@ -81,6 +81,14 @@ def test_merged_cell_class():
81
'8-8', '8-9']
82
eq_(keys, expected)
83
eq_(merged_cell, test_dict['7-1'])
84
+ eq_(merged_cell.bottom_row(), 8)
85
+ eq_(merged_cell.right_column(), 10)
86
+
87
88
+def test_convert_coordinate():
89
+ result = convert_coordinate('B5')
90
+ expected = (5, 2)
91
+ eq_(result, expected)
92
93
94
def get_fixture(file_name):
0 commit comments