mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
17 lines
370 B
Go
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)
|
|
}
|