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.
19 lines
289 B
19 lines
289 B
4 years ago
|
package memory_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"gitoa.ru/go-4devs/cache/provider/memory"
|
||
|
"gitoa.ru/go-4devs/cache/test"
|
||
|
)
|
||
|
|
||
|
func TestMap(t *testing.T) {
|
||
|
t.Parallel()
|
||
|
test.RunSute(t, memory.NewMap())
|
||
|
}
|
||
|
|
||
|
func TestMapShard(t *testing.T) {
|
||
|
t.Parallel()
|
||
|
test.RunSute(t, memory.NewMapShard())
|
||
|
}
|