public void GetWeekofDateTimeValueTest() { DateTime tim = DateTime.Now.AddDays(-6); int intWeek = ConvertClass.GetWeekofDateTimeValue(tim.DayOfWeek); Assert.AreEqual(intWeek, 1); }