Пример #1
0
        public void TestMethodDeposit()
        {
            account acc = new account(200000);

            acc.Deposit(200000);
            Assert.IsNotNull(acc);
            Assert.IsInstanceOfType(acc, typeof(account));
            Assert.AreEqual(400000, acc.Balance());
        }