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)); } }
public void DecodeInvalidChar() { Base58Encoding.Decode("ab0"); }