public void ShouldNotReturnEmptyWeekendDaysList() { var equalitySample = new EqualitySample(); var result = equalitySample.WeekendDays(); Assert.IsNotEmpty(result); //OR: Assert.That(result, Is.Not.Empty); }
public void ShouldReturnWeekendDaysListAsExpected() { var list = new List <string>(); list.Add("Saturday"); list.Add("Sunday"); var equalitySample = new EqualitySample(); var result = equalitySample.WeekendDays(); Assert.AreEqual(list, result); //OR: Assert.That(result, Is.EqualTo(list)); }