MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / TestTHashH

Function TestTHashH

crypto/hash/hashfuncs_test.go:215–221  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

213}
214
215func TestTHashH(t *testing.T) {
216 Convey("HashH HashB", t, func() {
217 b := []byte{0x43, 0x9c, 0x2f, 0x4b}
218 h := THashH(b)
219 So(h.CloneBytes(), ShouldResemble, THashB(b))
220 })
221}
222
223func BenchmarkTHashB(b *testing.B) {
224 b.ResetTimer()

Callers

nothing calls this directly

Calls 3

THashHFunction · 0.85
THashBFunction · 0.85
CloneBytesMethod · 0.80

Tested by

no test coverage detected