public void EncodeWithCheck(string expectedEncode, byte[] prefix, byte[] plaintext) { var enc = Base58Convert.EncodeWithCheck(prefix, plaintext); Assert.AreEqual(expectedEncode, enc, StringComparison.Ordinal); }
public void EncodeWithCheck([Bind(2)] byte[] plaintext, [Bind(0)] string expected) { var enc = Base58Convert.EncodeWithCheck(plaintext); Assert.AreEqual(expected, enc, StringComparison.Ordinal); }