- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSortIPs (0.06 sec)
-
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. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0)