public void should_correctly_calculate_this_week_start() { var tense = new This(); var place = new Start(); var unit = new Week(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_thisWeekStart)); }
public void should_correctly_calculate_prev_week_end() { var tense = new Prev(); var place = new End(); var unit = new Week(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_prevWeekEnd)); }