Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMinAllowedPartSize (0.14 sec)

  1. cmd/utils_test.go

    	for i, s := range sizes {
    		isMax := isMaxObjectSize(s.size)
    		if isMax != s.isMax {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
    		}
    	}
    }
    
    // Tests minimum allowed part size.
    func TestMinAllowedPartSize(t *testing.T) {
    	sizes := []struct {
    		isMin bool
    		size  int64
    	}{
    		// Test - 1 - within minimum part size.
    		{
    			true,
    			globalMinPartSize + 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