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.
23 lines
415 B
23 lines
415 B
package memory
|
|
|
|
import (
|
|
"github.com/allegro/bigcache"
|
|
"reflect"
|
|
"testing"
|
|
)
|
|
|
|
func TestNewBigCache(t *testing.T) {
|
|
tests := []struct {
|
|
name string
|
|
want *bigcache.BigCache
|
|
}{
|
|
// TODO: Add test cases.
|
|
}
|
|
for _, tt := range tests {
|
|
t.Run(tt.name, func(t *testing.T) {
|
|
if got := NewBigCache(); !reflect.DeepEqual(got, tt.want) {
|
|
t.Errorf("NewBigCache() = %v, want %v", got, tt.want)
|
|
}
|
|
})
|
|
}
|
|
}
|
|
|