Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMaxPartID (0.11 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,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top