Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDealer_DealIntoHand (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go

    		t.Logf("good percentage = %v, histogram = %v", goodPct, histogram)
    		if goodSum != numHandsSeen {
    			t.Errorf("Only %v percent of the hands got a central count", goodPct)
    		}
    	}
    }
    
    func TestDealer_DealIntoHand(t *testing.T) {
    	dealer, _ := NewDealer(6, 6)
    
    	tests := []struct {
    		name         string
    		hand         []int
    		expectedSize int
    	}{
    		{
    			"nil slice",
    			nil,
    			6,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 25 06:44:08 UTC 2021
    - 6.7K bytes
    - Viewed (0)
Back to top