public void should_correctly_calculate_this_hour_start() { var tense = new This(); var place = new Start(); var unit = new Hour(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_thisHourStart)); }
public void should_correctly_calculate_prev_hour_end() { var tense = new Prev(); var place = new End(); var unit = new Hour(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_prevHourEnd)); }