chore: refresh gramsrv public release
This commit is contained in:
parent
75cebe8dbf
commit
70b6820474
1274 changed files with 378751 additions and 59919 deletions
25
internal/store/memory/groupcall_test.go
Normal file
25
internal/store/memory/groupcall_test.go
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
package memory_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"telesrv/internal/store"
|
||||
"telesrv/internal/store/memory"
|
||||
"telesrv/internal/store/storetest"
|
||||
)
|
||||
|
||||
func TestGroupCallStoreContract(t *testing.T) {
|
||||
var nextChannel int64 = 5000
|
||||
storetest.RunGroupCallStoreContract(t, func(t *testing.T) (store.GroupCallStore, int64) {
|
||||
nextChannel++
|
||||
return memory.NewGroupCallStore(), nextChannel
|
||||
})
|
||||
}
|
||||
|
||||
func TestGroupCallStoreM2Contract(t *testing.T) {
|
||||
var nextChannel int64 = 6000
|
||||
storetest.RunGroupCallStoreM2Contract(t, func(t *testing.T) (store.GroupCallStore, int64) {
|
||||
nextChannel++
|
||||
return memory.NewGroupCallStore(), nextChannel
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue