提交 1a953b66 编写于 作者: R Rad Cirskis

added unit tests

上级 e3050d21
...@@ -816,6 +816,11 @@ func TestAddComments(t *testing.T) { ...@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册