public void SetCurrentWeekTest() { ChallengingResultVOEntity target = new ChallengingResultVOEntity(); // TODO: Initialize to an appropriate value WeekOfMonth second = WeekOfMonth.SecondWeek; // TODO: Initialize to an appropriate value target.SetCurrentWeek(second); Assert.IsTrue(target.Second.Week == second); //Assert.IsFalse(target.First.IsCurrent); //Assert.IsFalse(target.Third.IsCurrent); //Assert.IsFalse(target.Fourth.IsCurrent); }
public void SetCurrentDayTest() { ChallengingResultVOEntity target = new ChallengingResultVOEntity(); // TODO: Initialize to an appropriate value DayOfWeek tuesday = DayOfWeek.Tuesday; // TODO: Initialize to an appropriate value target.SetCurrentDay(tuesday); Assert.IsTrue(target.Tuesday.IsCurrent); /*Assert.IsFalse(target.Monday.IsCurrent); Assert.IsFalse(target.Thursday.IsCurrent); Assert.IsFalse(target.Wednesday.IsCurrent); Assert.IsFalse(target.Friday.IsCurrent);*/ }