You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
427 B
21 lines
427 B
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) |
|
}) |
|
}
|
|
|