예제 #1
0
        public void DeriveEntropyXprv_ExceptionTest()
        {
            var bip85 = new BIP0085(Xprv);

            bip85.Dispose();
            Assert.Throws <ObjectDisposedException>(() => bip85.DeriveEntropyXprv(1));
        }
예제 #2
0
        public void DeriveEntropyXprvTest(string xprv, uint index, string expected)
        {
            using BIP0085 bip85 = new BIP0085(xprv);
            string actual = bip85.DeriveEntropyXprv(index);

            Assert.Equal(expected, actual);
        }