added string casting
This commit is contained in:
@ -2,6 +2,7 @@ package ethutil
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"math/big"
|
||||
"testing"
|
||||
)
|
||||
@ -78,3 +79,8 @@ func TestMath(t *testing.T) {
|
||||
t.Error("Expected 0, got", a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestString(t *testing.T) {
|
||||
a := NewValue("10")
|
||||
fmt.Println("VALUE WITH STRING:", a.Int())
|
||||
}
|
||||
|
Reference in New Issue
Block a user