123456789101112131415161718192021222324252627282930313233 |
- package member
- import (
- "reflect"
- "testing"
- "go-common/app/interface/main/app-interface/conf"
- . "github.com/smartystreets/goconvey/convey"
- )
- func TestNew(t *testing.T) {
- Convey("TestNew", t, func() {
- })
- type args struct {
- c *conf.Config
- }
- tests := []struct {
- name string
- args args
- wantD *Dao
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- if gotD := New(tt.args.c); !reflect.DeepEqual(gotD, tt.wantD) {
- t.Errorf("New() = %v, want %v", gotD, tt.wantD)
- }
- })
- }
- }
|