コード例 #1
0
        public void TestGetAccount2()
        {
            MyWallet wallet = new MyWallet();
            Action   action = () => wallet.GetAccount(UInt160.Zero);

            action.Should().NotThrow();
        }
コード例 #2
0
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0x7e471cf52f27edc291e29ec8f2d1ea2d210d6725"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0x7e471cf52f27edc291e29ec8f2d1ea2d210d6725"));
        }
コード例 #3
0
ファイル: UT_Wallet.cs プロジェクト: chenzhitong/neo
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xf55f6873ae944cf4ec9626e8855b8554e798a7d1"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xf55f6873ae944cf4ec9626e8855b8554e798a7d1"));
        }
コード例 #4
0
ファイル: UT_Wallet.cs プロジェクト: mohamadDev/neo
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xc43d04da83afcf7df3b2908c169cfbfbf7512d7f"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xc43d04da83afcf7df3b2908c169cfbfbf7512d7f"));
        }
コード例 #5
0
ファイル: UT_Wallet.cs プロジェクト: wsjq5477/neo
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xd92defaf95bf5307ffbc3ab1c5cdf7ddfc1b89b3"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xd92defaf95bf5307ffbc3ab1c5cdf7ddfc1b89b3"));
        }
コード例 #6
0
ファイル: UT_Wallet.cs プロジェクト: bspanda98/neo
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xb3f1526d9f9670df1a21a5953d5296c3a9c9173c"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xb3f1526d9f9670df1a21a5953d5296c3a9c9173c"));
        }
コード例 #7
0
ファイル: UT_Wallet.cs プロジェクト: sycdirdir/neo
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("522a2b818c308c7a2c77cfdda11763fe043bfb40"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0x522a2b818c308c7a2c77cfdda11763fe043bfb40"));
        }