- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSortIPs (0.14 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0)