Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMarshalMismatch (0.23 sec)

  1. src/crypto/sha512/sha512_test.go

    				if actual, actual2 := h.Sum(nil), h2.Sum(nil); !bytes.Equal(actual, actual2) {
    					t.Errorf("New%s(%q) = 0x%x != marshaled 0x%x", tt.name, test.in, actual, actual2)
    				}
    			}
    		})
    	}
    }
    
    func TestMarshalMismatch(t *testing.T) {
    	h := []func() hash.Hash{
    		New,
    		New384,
    		New512_224,
    		New512_256,
    	}
    
    	for i, fn1 := range h {
    		for j, fn2 := range h {
    			if i == j {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
Back to top