github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/net/proxy/drop/drop_test.go (about)

     1  package drop
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/Asutorufa/yuhaiin/pkg/net/netapi"
     7  )
     8  
     9  func TestDrop(t *testing.T) {
    10  	time := Drop.waitTime(netapi.EmptyAddr)
    11  	t.Log(time)
    12  	time = Drop.waitTime(netapi.EmptyAddr)
    13  	t.Log(time)
    14  	time = Drop.waitTime(netapi.EmptyAddr)
    15  	t.Log(time)
    16  	time = Drop.waitTime(netapi.EmptyAddr)
    17  	t.Log(time)
    18  	time = Drop.waitTime(netapi.EmptyAddr)
    19  	t.Log(time)
    20  }