MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / TestClaimAugMerkle

Function TestClaimAugMerkle

protocol/claim_test.go:71–77  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

69}
70
71func TestClaimAugMerkle(t *testing.T) {
72 s := &Claim{newTestShares(), nil, nil, nil}
73 result := smartpool.SPHash{151, 170, 188, 143, 116, 177, 57, 134, 27, 7, 73, 156, 173, 26, 237, 226}
74 if !reflect.DeepEqual(s.AugMerkle(), result) {
75 t.Fail()
76 }
77}

Callers

nothing calls this directly

Calls 2

AugMerkleMethod · 0.95
newTestSharesFunction · 0.85

Tested by

no test coverage detected