go-common/app/interface/main/answer/service/common_test.go
2019-04-22 18:49:16 +08:00

22 lines
427 B
Go

package service
import (
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestServiceconvertModel(t *testing.T) {
convey.Convey("convertModel", t, func() {
res := s.convertModel(nil)
convey.So(res, convey.ShouldNotBeNil)
})
}
func TestServiceconvertExtraModel(t *testing.T) {
convey.Convey("convertExtraModel", t, func() {
res := s.convertExtraModel(nil)
convey.So(res, convey.ShouldNotBeNil)
})
}