mirror of
				https://github.com/oneclickvirt/backtrace.git
				synced 2025-11-04 15:52:37 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			358 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			358 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package backtrace
 | 
						|
 | 
						|
import (
 | 
						|
	"testing"
 | 
						|
)
 | 
						|
 | 
						|
//func TestGeneratePrefixMap(t *testing.T) {
 | 
						|
//	prefix := "223.119.8.0/21"
 | 
						|
//	prefixList := GeneratePrefixList(prefix)
 | 
						|
//	if prefixList != nil {
 | 
						|
//		// 打印生成的IP地址前缀列表
 | 
						|
//		for _, ip := range prefixList {
 | 
						|
//			fmt.Println(ip)
 | 
						|
//		}
 | 
						|
//	}
 | 
						|
//}
 | 
						|
 | 
						|
func TestBackTrace(t *testing.T) {
 | 
						|
	BackTrace(false)
 | 
						|
}
 |