added string casting

This commit is contained in:
obscuren
2014-09-13 13:14:24 +02:00
parent c0187930dc
commit 10564723b9
2 changed files with 12 additions and 4 deletions

View File

@ -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())
}