コード例 #1
0
        public void Compare_Public_Account_On_Same_Different_Network()
        {
            var publicAccount  = new PublicAccount(Constants.PUBLIC_TEST_PUBLIC_KEY, NetworkType.MAIN_NET);
            var publicAccount2 = new PublicAccount(Constants.PUBLIC_TEST_PUBLIC_KEY, NetworkType.TEST_NET);

            publicAccount.Should().NotBe(publicAccount2);
        }
コード例 #2
0
        public void Compare_Public_Account_On_Same_Network()
        {
            var publicAccount  = new PublicAccount(Constants.PUBLIC_TEST_PUBLIC_KEY, NetworkType.TEST_NET);
            var publicAccount2 = new PublicAccount(Constants.PUBLIC_TEST_PUBLIC_KEY, NetworkType.TEST_NET);

            publicAccount2.Should().BeEquivalentTo(publicAccount);
        }