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