From 34d62c380ef6327c170639af6221a82610efa25c Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 1 Jan 2014 03:06:52 +0100 Subject: Encoding helpers for trie --- encoding_test.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'encoding_test.go') 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} -- cgit v1.2.3