~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/calendar_test.cc

Merged Pawel from lp:~pblokus/drizzle/unittests-plugin-interfaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
TEST(calendar_julian_day_number_from_gregorian_date_test, CalculationTest)
30
30
{
31
31
  uint32_t year, month, day;
32
 
  
 
32
 
33
33
  year= 2010; month= 4; day= 2;
34
34
  EXPECT_EQ(2455289, julian_day_number_from_gregorian_date(year, month, day));
35
35
  
129
129
  year= 2020; month= 7; day= 13; hour= 16; minute= 56; second= 59;
130
130
  EXPECT_TRUE(in_unix_epoch_range(year, month, day, hour, minute, second));
131
131
}
132