Lines Matching full:want
23 want := len(unique)
26 if got != want {
27 t.Errorf("NewIntSet(%v) want length %v, got %v", unique, want, got)
32 want := true
35 if got != want {
36 t.Errorf("Contains(%v) want %v, got %v", s, want, got)
44 want := unique[i]
45 if got != want {
46 t.Errorf("Sorted(%d) want %v, got %v", i, want, got)
63 want := 0
66 if got != want {
67 t.Errorf("NewIntSet() want length %v, got %v", want, got)
79 want = len(unique)
82 if got != want {
83 t.Errorf("NewIntSet(%v) want length %v, got %v", nonUnique, want, got)
149 want := []int{3, 5}
150 checkSameIntSet(t, got, want)
159 checkSameIntSet(t, got, want)
175 t.Errorf("Disjoint(%s, %v) want %v, got %v", setA, nil, true, disjoint)
179 t.Errorf("Disjoint(%s, %s) want %v, got %v", setA, emptySet, true, disjoint)
183 t.Errorf("Disjoint(%s, %s) want %v, got %v", emptySet, setA, true, disjoint)
187 t.Errorf("Disjoint(%s, %s) want %v, got %v", emptySet, emptySet, true, disjoint)
198 t.Errorf("Disjoint(%s, %s) want %v, got %v", setA, setC, true, disjoint)
209 t.Errorf("Disjoint(%s, %s) want %v, got %v", setA, setB, false, disjoint)
233 t.Errorf("Difference(%s, %s).Empty() want %v, got %v",
252 want := []int{1, 4, 6}
253 checkSameIntSet(t, got, want)
261 want = []int{2}
262 checkSameIntSet(t, got, want)
283 want := []int{1, 2, 4, 6}
284 checkSameIntSet(t, got, want)
295 t.Errorf("Union of disjoint Equal(%s, %s) want %v, got %v",
303 want = []int{1, 2, 4, 6}
304 checkSameIntSet(t, union, want)
308 t.Errorf("Union of differences Equal(%s, %s) want %v, got %v",
326 t.Errorf("Equal(%s, %v) want %v, got %v", setA, nil, false, true)
334 t.Errorf("Equal(%s, %s) want %v, got %v", setA, setA, true, false)
344 t.Errorf("Equal(%s, %s) want %v, got %v", setA, setB, false, true)
355 t.Errorf("Equal(%s, %s) want %v, got %v", setA, setC, false, true)
359 t.Errorf("Equal(%s, %s) want %v, got %v", setC, setA, false, true)
368 t.Errorf("Equal(%s, %s) want %v, got %v", setA, setA, true, false)
378 t.Errorf("Equal(%s, %s) want %v, got %v", setA, anotherA, true, false)
388 t.Errorf("Equal(%s, %s) want %v, got %v", nilSet, setA, false, true)
391 t.Errorf("Equal(%s, %s) want %v, got %v", setA, nilSet, false, true)
394 t.Errorf("Equal(%s, %s) want %v, got %v", nilSet, nilSet, true, false)
400 t.Errorf("Equal(%s, %s) want %v, got %v", nilSet, emptySet, false, true)
403 t.Errorf("Equal(%s, %s) want %v, got %v", emptySet, nilSet, false, true)
406 t.Errorf("Equal(%s, %s) want %v, got %v", emptySet, emptySet, true, false)
424 want := []int{1, 2, 3, 4, 5, 6}
425 checkSameIntSet(t, got, want)
434 checkSameIntSet(t, got, want)