added unit tests

This commit is contained in:
Rad Cirskis 2018-06-30 22:55:14 +12:00
parent e3050d21e7
commit 1a953b6601
1 changed files with 5 additions and 0 deletions

View File

@ -816,6 +816,11 @@ func TestAddComments(t *testing.T) {
if err != nil { if err != nil {
t.Error(err) t.Error(err)
} }
allComments := xlsx.GetComments()
if len(allComments) != 2 {
t.Error("Expected 2 comment entry elements.")
}
} }
func TestAutoFilter(t *testing.T) { func TestAutoFilter(t *testing.T) {