Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFilterDuplicates (0.18 sec)

  1. pkg/slices/slices_test.go

    		notEqual = append(notEqual, strconv.Itoa(i))
    	}
    	notEqual[size-1] = "z"
    
    	for n := 0; n < b.N; n++ {
    		EqualUnordered(l, equal)
    		EqualUnordered(l, notEqual)
    	}
    }
    
    func TestFilterDuplicates(t *testing.T) {
    	tests := []struct {
    		name string
    		in   []string
    		out  []string
    	}{
    		{
    			name: "empty",
    			in:   nil,
    			out:  nil,
    		},
    		{
    			name: "one",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top