public void TestRangeMonthly() { var current = DateTime.Today.StartOfMonth(); var range = new RepeatingAlertRange { RepeatType = RepeatType.Monthly }; Assert.Equal(Alerts.GetEffectiveTimeRange(current.AddDays(4), range), new (DateTime, DateTime?)[]