Esempio n. 1
0
 public void TimeIdentifiersAreAlikeWhenTheyAreEqual()
 {
     Assert.True(AcademicYear.IsAlike(AcademicYear));
     Assert.True(CalendarYear.IsAlike(CalendarYear));
     Assert.True(FinancialYear.IsAlike(FinancialYear));
     Assert.True(TaxYear.IsAlike(TaxYear));
     Assert.True(AcademicYearQ1.IsAlike(AcademicYearQ1));
     Assert.True(CalendarYearQ1.IsAlike(CalendarYearQ1));
     Assert.True(FinancialYearQ1.IsAlike(FinancialYearQ1));
     Assert.True(TaxYearQ1.IsAlike(TaxYearQ1));
     Assert.True(January.IsAlike(January));
     Assert.True(SpringTerm.IsAlike(SpringTerm));
     Assert.True(ReportingYear.IsAlike(ReportingYear));
     Assert.True(Week1.IsAlike(Week1));
     Assert.True(FinancialYearPart1.IsAlike(FinancialYearPart1));
 }
Esempio n. 2
0
 public void GetAssociatedRangeForCalendarQuarterReturnsAssociatedRange()
 {
     Assert.Equal(TimeIdentifierUtil.GetCalendarQuarters(), CalendarYearQ1.GetAssociatedRange());
 }