aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/value_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-13 19:14:24 +0800
committerobscuren <geffobscura@gmail.com>2014-09-13 19:14:24 +0800
commit10564723b9ffa14904907a0ebc984fa25e4f1eab (patch)
treeb979ba28f8d81378fbebe73b90ba95d48a0cd5cd /ethutil/value_test.go
parentc0187930dc352c645c223e17364623a68413cb74 (diff)
downloadgo-tangerine-10564723b9ffa14904907a0ebc984fa25e4f1eab.tar
go-tangerine-10564723b9ffa14904907a0ebc984fa25e4f1eab.tar.gz
go-tangerine-10564723b9ffa14904907a0ebc984fa25e4f1eab.tar.bz2
go-tangerine-10564723b9ffa14904907a0ebc984fa25e4f1eab.tar.lz
go-tangerine-10564723b9ffa14904907a0ebc984fa25e4f1eab.tar.xz
go-tangerine-10564723b9ffa14904907a0ebc984fa25e4f1eab.tar.zst
go-tangerine-10564723b9ffa14904907a0ebc984fa25e4f1eab.zip
added string casting
Diffstat (limited to 'ethutil/value_test.go')
-rw-r--r--ethutil/value_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/ethutil/value_test.go b/ethutil/value_test.go
index 710cbd887..5452a0790 100644
--- a/ethutil/value_test.go
+++ b/ethutil/value_test.go
@@ -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())
+}