public void GetDaysCountTest() { // Ignore this test on other timezones. // TODO Make this test meaningful in other timezones. if (TimeZone.CurrentTimeZone.StandardName != "Eastern Standard Time") { return; } EntryList target = new EntryList(); target.LoadEntries(null, "EntrySet01"); int expected = 6; int actual = target.GetDaysCount(); Assert.AreEqual(expected, actual); }