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

17 lines
337 B
Go

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