- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for wantFound (0.13 sec)
-
src/slices/sort_test.go
if pos != tt.wantPos || found != tt.wantFound { t.Errorf("BinarySearch got (%v, %v), want (%v, %v)", pos, found, tt.wantPos, tt.wantFound) } } { pos, found := BinarySearchFunc(tt.data, tt.target, strings.Compare) if pos != tt.wantPos || found != tt.wantFound { t.Errorf("BinarySearchFunc got (%v, %v), want (%v, %v)", pos, found, tt.wantPos, tt.wantFound) } } }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
// Checking default binding. if wantBound := test.wantBinderID == -1; defaultBound != wantBound { t.Errorf("got bound with default binding: %v, want %v", defaultBound, wantBound) } // Checking extenders binding. for i, ext := range test.extenders { wantBound := i == test.wantBinderID if gotBound := ext.(*fakeExtender).gotBind; gotBound != wantBound {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0)