コード例 #1
0
        public void TestMethodWithDraw()
        {
            account acc = new account(200000);

            acc.WithDraw(100000);
            Assert.IsNotNull(acc);
            Assert.IsInstanceOfType(acc, typeof(account));
            Assert.AreEqual(100000, acc.Balance());
        }