summaryrefslogtreecommitdiff
path: root/excelize_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'excelize_test.go')
-rw-r--r--excelize_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go
index 35a395c..7848ed9 100644
--- a/excelize_test.go
+++ b/excelize_test.go
@@ -54,6 +54,12 @@ func TestExcelize(t *testing.T) {
f1.SetCellValue("Sheet2", "M2", nil)
// Test read cell value with given axis large than exists row.
f1.GetCellValue("Sheet2", "E231")
+ // Test get active sheet of XLSX and get sheet name of XLSX by given sheet index.
+ f1.GetSheetName(f1.GetActiveSheetIndex())
+ // Test get sheet name of XLSX by given invalid sheet index.
+ f1.GetSheetName(4)
+ // Test get sheet map of XLSX.
+ f1.GetSheetMap()
for i := 1; i <= 300; i++ {
f1.SetCellStr("SHEET3", "c"+strconv.Itoa(i), strconv.Itoa(i))