Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsXLMetaErasureInfoValid (0.15 sec)

  1. cmd/xl-storage-format_test.go

    	}
    	for _, tt := range tests {
    		if got := isXLMetaFormatValid(tt.version, tt.format); got != tt.want {
    			t.Errorf("Test %d: Expected %v but received %v", tt.name, got, tt.want)
    		}
    	}
    }
    
    func TestIsXLMetaErasureInfoValid(t *testing.T) {
    	tests := []struct {
    		name   int
    		data   int
    		parity int
    		want   bool
    	}{
    		{1, 5, 6, false},
    		{2, 5, 5, true},
    		{3, 0, 5, false},
    		{3, -1, 5, false},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top