Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMaxPartID (0.42 sec)

  1. cmd/utils_test.go

    		isMin := isMinAllowedPartSize(s.size)
    		if isMin != s.isMin {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMin, isMin)
    		}
    	}
    }
    
    // Tests maximum allowed part number.
    func TestMaxPartID(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		partN int
    	}{
    		// Test - 1 part number within max part number.
    		{
    			false,
    			globalMaxPartID - 1,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top