AssertEx.cs 之 AreEqual 日期容許誤差比較不必檢查 NULL 值

在 TestAutomation\Verify\AssertEx.cs 之 public static void AreEqual(DateTime expected, DateTime actual, TimeSpan tolerance, string context)   中,有呼叫 VerifyNullParity(expected, actual, message);。 由...

Id #2887 | Release: None | Updated: Feb 1, 2013 at 11:44 PM by ChrisTorng | Created: Oct 22, 2008 at 5:45 AM by ChrisTorng

DateRangeBVT 測試失敗

UnitTest\RandomDataTest.cs 之 DateRangeBVT() 無法通過測試。出問題的是這幾行: DateTime dt = rnd.Date("1/1/04", "1/31/04"); Assert.IsTrue(dt > DateTime.Parse("1/1/04"), "Date is greater than lower bound"); Assert....

Id #2886 | Release: None | Updated: Feb 1, 2013 at 11:44 PM by ChrisTorng | Created: Oct 22, 2008 at 5:43 AM by ChrisTorng

  • 1-2 of 2 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items