コード例 #1
0
 public void Decode()
 {
     foreach (var tuple in testCases)
     {
         var text          = tuple.Item1;
         var expectedBytes = tuple.Item2;
         var actualBytes   = Base58Encoding.Decode(text);
         Assert.AreEqual(BitConverter.ToString(expectedBytes), BitConverter.ToString(actualBytes));
     }
 }
コード例 #2
0
 public void DecodeInvalidChar()
 {
     Base58Encoding.Decode("ab0");
 }