15 lines
318 B
Go
15 lines
318 B
Go
package activitypool_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"proxy-pool/internal/domain/activitypool"
|
|
"proxy-pool/internal/domain/activitypool/contracttest"
|
|
)
|
|
|
|
func TestMemoryPoolContract(t *testing.T) {
|
|
contracttest.Run(t, func(*testing.T) (contracttest.Store, func()) {
|
|
return activitypool.NewMemoryPool(), func() {}
|
|
})
|
|
}
|