Files
v2ray_simple/proxy/simplesocks/simplesocks_test.go
hahafool 27872e7dfc rename
2022-04-25 18:33:24 +08:00

17 lines
352 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(true, false), t)
}
func TestUDP(t *testing.T) {
proxy.TestUDP("simplesocks", 0, netLayer.RandPortStr(true, true), 0, t)
}