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

29 lines
661 B
Go

package vless_test
import (
"testing"
"github.com/e1732a364fed/v2ray_simple/netLayer"
"github.com/e1732a364fed/v2ray_simple/proxy"
)
func TestVLess0(t *testing.T) {
proxy.TestTCP("vless", 0, netLayer.RandPortStr(true, false), t)
}
func TestVLess1(t *testing.T) {
proxy.TestTCP("vless", 1, netLayer.RandPortStr(true, true), t)
}
func TestVLess0_udp(t *testing.T) {
proxy.TestUDP("vless", 0, netLayer.RandPortStr(true, true), 0, t)
}
func TestVLess1_udp(t *testing.T) {
proxy.TestUDP("vless", 1, netLayer.RandPortStr(true, true), 0, t)
}
func TestVLess1_udp_multi(t *testing.T) {
proxy.TestUDP("vless", 1, netLayer.RandPortStr(true, true), 1, t)
}