go-common/app/interface/main/answer/service/common_test.go

22 lines
427 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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)
})
}