OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / vendor / github.com / mr-tron / base58 / base58_2_test.go
diff --git a/vendor/github.com/mr-tron/base58/base58_2_test.go b/vendor/github.com/mr-tron/base58/base58_2_test.go
deleted file mode 100644 (file)
index ac7f7b0..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package base58
-
-import "testing"
-
-func TestBase58_test2(t *testing.T) {
-
-       testAddr := []string{
-               "1QCaxc8hutpdZ62iKZsn1TCG3nh7uPZojq",
-               "1DhRmSGnhPjUaVPAj48zgPV9e2oRhAQFUb",
-               "17LN2oPYRYsXS9TdYdXCCDvF2FegshLDU2",
-               "14h2bDLZSuvRFhUL45VjPHJcW667mmRAAn",
-       }
-
-       for ii, vv := range testAddr {
-               // num := Base58Decode([]byte(vv))
-               // chk := Base58Encode(num)
-               num, err := FastBase58Decoding(vv)
-               if err != nil {
-                       t.Errorf("Test %d, expected success, got error %s\n", ii, err)
-               }
-               chk := FastBase58Encoding(num)
-               if vv != string(chk) {
-                       t.Errorf("Test %d, expected=%s got=%s Address did base58 encode/decode correctly.", ii, vv, chk)
-               }
-       }
-}