Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestChunkSize (0.1 sec)

  1. pkg/scheduler/framework/parallelize/parallelism_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parallelize
    
    import (
    	"fmt"
    	"testing"
    )
    
    func TestChunkSize(t *testing.T) {
    	tests := []struct {
    		input      int
    		wantOutput int
    	}{
    		{
    			input:      32,
    			wantOutput: 3,
    		},
    		{
    			input:      16,
    			wantOutput: 2,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.2K bytes
    - Viewed (0)
Back to top