Пример #1
0
        public void GetWalletRecoveryFilePath()
        {
            string actualPath   = WalletFileTools.GetWalletRecoveryFilePath(_wallet.Id);
            string expectedPath = Path.Combine(App.WalletsDir, _wallet.Id, "wallet.recover.jet");

            Assert.AreEqual(expectedPath, actualPath);
        }
Пример #2
0
        public void Init()
        {
            _wallet = WalletGenerator.GenerateMockWallet();


            // for encryption and decryption tests
            _key          = "238085A3C30982B6DBE1F6F5CEFA4584";
            _path         = WalletFileTools.GetWalletFilePath(_wallet.Id);
            _recoverypath = WalletFileTools.GetWalletRecoveryFilePath(_wallet.Id);
        }