aboutsummaryrefslogtreecommitdiffstats
path: root/encoding_test.go
diff options
context:
space:
mode:
authorobscuren <obscuren@obscura.com>2014-01-01 10:06:52 +0800
committerobscuren <obscuren@obscura.com>2014-01-01 10:06:52 +0800
commit34d62c380ef6327c170639af6221a82610efa25c (patch)
tree3c519214bb48628a3b68fa49d18f5b5c9def4f8e /encoding_test.go
parent276fa6c799b08bc41efd2d26a83eef678e8c943b (diff)
downloadgo-tangerine-34d62c380ef6327c170639af6221a82610efa25c.tar
go-tangerine-34d62c380ef6327c170639af6221a82610efa25c.tar.gz
go-tangerine-34d62c380ef6327c170639af6221a82610efa25c.tar.bz2
go-tangerine-34d62c380ef6327c170639af6221a82610efa25c.tar.lz
go-tangerine-34d62c380ef6327c170639af6221a82610efa25c.tar.xz
go-tangerine-34d62c380ef6327c170639af6221a82610efa25c.tar.zst
go-tangerine-34d62c380ef6327c170639af6221a82610efa25c.zip
Encoding helpers for trie
Diffstat (limited to 'encoding_test.go')
-rw-r--r--encoding_test.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/encoding_test.go b/encoding_test.go
index 63f7878bf..b66f702ac 100644
--- a/encoding_test.go
+++ b/encoding_test.go
@@ -27,18 +27,6 @@ func TestCompactEncode(t *testing.T) {
}
}
-// Helper function for comparing slices
-func CompareIntSlice(a, b []int) bool {
- if len(a) != len(b) {
- return false
- }
- for i, v := range a {
- if v != b[i] {
- return false
- }
- }
- return true
-}
func TestCompactHexDecode(t *testing.T) {
exp := []int{7, 6, 6, 5, 7, 2, 6, 2, 16}