Lines Matching refs:want
64 f := func(t *testing.T, imp func([]string) []string, in, want []string) {
67 if !reflect.DeepEqual(out, want) {
70 t.Errorf(" expected: %#v", want)
501 want [][]string
509 want: [][]string(nil),
517 want: [][]string{{"a", "b"}},
525 want: [][]string{{"a", "b"}},
533 want: [][]string{{"a"}, {"b"}, {"c"}},
541 want: [][]string{{"a", "b"}, {"c", "d"}},
549 want: [][]string{{"a", "b"}, {"c"}},
555 if got := ShardStrings(tt.args.strings, tt.args.shardSize); !reflect.DeepEqual(got, tt.want) {
557 tt.args.strings, tt.args.shardSize, got, tt.want)
575 var want []Paths
576 if sWant := tt.want; sWant != nil {
577 want = make([]Paths, len(sWant))
579 want[i] = stringsToPaths(w)
583 if got := ShardPaths(paths, tt.args.shardSize); !reflect.DeepEqual(got, want) {
585 paths, tt.args.shardSize, got, want)