Пример #1
0
        public void AddToBalance()
        {
            var state = new AccountState(BigInteger.One);

            var result = state.AddToBalance(BigInteger.MinusOne);

            Assert.IsNotNull(result);
            Assert.AreNotSame(state, result);
            Assert.AreEqual(BigInteger.Zero, result.Balance);
        }