• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 使用VisualStudio2005TeamSystem進行單元測試[6]

    發表于:2010-05-12來源:作者:點擊數: 標簽:單元
    使用VisualStudio2005TeamSystem進行 單元測試 [6] 軟件測試 public void Initialize() { } [TestCleanup()] public void Cleanup() { } [TestMethod()] public void ConstructorTest() { float currentBalance = 500; BankAccount target = new BankAccount

      使用VisualStudio2005TeamSystem進行單元測試[6]   軟件測試

      public void Initialize() {

      }

      [TestCleanup()]

      public void Cleanup() {

      }

      [TestMethod()]

      public void ConstructorTest() {

      float currentBalance = 500;

      BankAclearcase/" target="_blank" >ccount target = new BankAccount(currentBalance);

      Assert.AreEqual(currentBalance, target.CurrentBalance,

      "Balances are not equal upon creation");

      }

      [TestMethod()]

      public void DepositMoneyTest() {

      float currentBalance = 500;

      BankAccount target = new BankAccount(currentBalance);

      float depositAmount = 10;

      target.DepositMoney(depositAmount);

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>