$this->assertEquals($diff,(int)$row['diff'],"Date difference should be approx. ".$diff." days.",1);
$this->assertEquals('2010-01-01 10:10:11',date('Y-m-d H:i:s',strtotime($row['add_seconds'])),"Adding second should end up on 2010-01-01 10:10:11");
$this->assertEquals('2010-01-01 10:10:09',date('Y-m-d H:i:s',strtotime($row['sub_seconds'])),"Subtracting second should end up on 2010-01-01 10:10:09");
$this->assertEquals('2010-01-01 10:15:10',date('Y-m-d H:i:s',strtotime($row['add_minutes'])),"Adding minutes should end up on 2010-01-01 10:15:10");
$this->assertEquals('2010-01-01 10:05:10',date('Y-m-d H:i:s',strtotime($row['sub_minutes'])),"Subtracting minutes should end up on 2010-01-01 10:05:10");
$this->assertEquals('2010-01-01 13:10',date('Y-m-d H:i',strtotime($row['add_hour'])),"Adding date should end up on 2010-01-01 13:10");
$this->assertEquals('2010-01-01 07:10',date('Y-m-d H:i',strtotime($row['sub_hour'])),"Subtracting date should end up on 2010-01-01 07:10");
$this->assertEquals('2010-01-11',date('Y-m-d',strtotime($row['add_days'])),"Adding date should end up on 2010-01-11");
$this->assertEquals('2009-12-22',date('Y-m-d',strtotime($row['sub_days'])),"Subtracting date should end up on 2009-12-22");
$this->assertEquals('2010-01-08',date('Y-m-d',strtotime($row['add_weeks'])),"Adding week should end up on 2010-01-08");
$this->assertEquals('2009-12-25',date('Y-m-d',strtotime($row['sub_weeks'])),"Subtracting week should end up on 2009-12-25");
$this->assertEquals('2010-03-01',date('Y-m-d',strtotime($row['add_month'])),"Adding month should end up on 2010-03-01");
$this->assertEquals('2009-11-01',date('Y-m-d',strtotime($row['sub_month'])),"Adding month should end up on 2009-11-01");
$this->assertEquals('2009-11-01',date('Y-m-d',strtotime($row['sub_month'])),"Substracting month should end up on 2009-11-01");
$this->assertEquals('2010-10-01',date('Y-m-d',strtotime($row['add_quarters'])),"Adding quarters should end up on 2010-04-01");
$this->assertEquals('2009-04-01',date('Y-m-d',strtotime($row['sub_quarters'])),"Substracting quarters should end up on 2009-10-01");
$this->assertEquals('2016-01-01',date('Y-m-d',strtotime($row['add_years'])),"Adding years should end up on 2016-01-01");
$this->assertEquals('2004-01-01',date('Y-m-d',strtotime($row['sub_years'])),"Substracting years should end up on 2004-01-01");