package mysql import ( "github.com/go-xorm/xorm" "matchmaking-system/internal/conf" "reflect" "testing" ) func TestNewMySql(t *testing.T) { type args struct { c *conf.Data } tests := []struct { name string args args want *xorm.EngineGroup }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := NewMySql(tt.args.c); !reflect.DeepEqual(got, tt.want) { t.Errorf("NewMySql() = %v, want %v", got, tt.want) } }) } } func TestNewMySql1(t *testing.T) { type args struct { c *conf.Data } tests := []struct { name string args args want *xorm.EngineGroup }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := NewMySql(tt.args.c); !reflect.DeepEqual(got, tt.want) { t.Errorf("NewMySql() = %v, want %v", got, tt.want) } }) } }