public void should_correctly_calculate_this_year_start() { var tense = new This(); var place = new Start(); var unit = new Year(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_thisYearStart)); }
public void should_correctly_calculate_prev_year_end() { var tense = new Prev(); var place = new End(); var unit = new Year(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_prevYearEnd)); }