Files
v2ray_simple/proxy/simplesocks/simplesocks_test.go
2022-12-04 22:35:26 +08:00

17 lines
370 B
Go

package simplesocks_test
import (
"testing"
"github.com/e1732a364fed/v2ray_simple/netLayer"
"github.com/e1732a364fed/v2ray_simple/proxy"
)
func TestTCP(t *testing.T) {
proxy.TestTCP("simplesocks", "", 0, netLayer.RandPortStr_safe(true, false), "", t)
}
func TestUDP(t *testing.T) {
proxy.TestUDP("simplesocks", 0, netLayer.RandPortStr_safe(true, true), 0, t)
}