diff options
author | obscuren <obscuren@obscura.com> | 2014-01-01 10:06:52 +0800 |
---|---|---|
committer | obscuren <obscuren@obscura.com> | 2014-01-01 10:06:52 +0800 |
commit | 34d62c380ef6327c170639af6221a82610efa25c (patch) | |
tree | 3c519214bb48628a3b68fa49d18f5b5c9def4f8e /encoding_test.go | |
parent | 276fa6c799b08bc41efd2d26a83eef678e8c943b (diff) | |
download | go-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.go | 12 |
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} |