mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			8 lines
		
	
	
		
			148 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			8 lines
		
	
	
		
			148 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package iplibrary
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "testing"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func TestIPv4RangeToCIDRRange(t *testing.T) {
							 | 
						||
| 
								 | 
							
									t.Log(iPv4RangeToCIDRRange("192.168.0.0", "192.168.255.255"))
							 | 
						||
| 
								 | 
							
								}
							 |