MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / TestInt64ToBigInt

Function TestInt64ToBigInt

model/model_test.go:20–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

18}
19
20func TestInt64ToBigInt(t *testing.T) {
21 value := int64(123456789)
22 bigIntValue := Int64ToBigInt(value)
23 expected := big.NewInt(value)
24 assert.Equal(t, expected, bigIntValue)
25}
26
27func TestTransaction_HashTxn(t *testing.T) {
28 txn := &Transaction{

Callers

nothing calls this directly

Calls 1

Int64ToBigIntFunction · 0.85

Tested by

no test coverage detected