- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestSortIPs (0.05 seconds)
-
cmd/net_test.go
t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host) } if testCase.expectedPort != port { t.Fatalf("port: expected = %v, got = %v", testCase.expectedPort, port) } } } func TestSortIPs(t *testing.T) { testCases := []struct { ipList []string sortedIPList []string }{ // Default case of two ips one with higher octet moves // to the beginning of the list. {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.2K bytes - Click Count (0)