MCPcopy Create free account
hub / github.com/DNAProject/DNA / TestUint256_Serialize

Function TestUint256_Serialize

common/uint256_test.go:29–35  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

27)
28
29func TestUint256_Serialize(t *testing.T) {
30 var val Uint256
31 val[1] = 245
32 buf := bytes.NewBuffer(nil)
33 err := val.Serialize(buf)
34 assert.Nil(t, err)
35}
36
37func TestUint256_Deserialize(t *testing.T) {
38 var val Uint256

Callers

nothing calls this directly

Calls 1

SerializeMethod · 0.95

Tested by

no test coverage detected