/**
  * @param int   $tick
  * @param float $cycle
  * @param float $season
  * @param float $year
  * @param float $month
  * @param float $week
  * @param float $day
  * @param float $time
  *
  * @dataProvider tickProvider
  */
 public function testRyzomClock($tick, $cycle, $season, $year, $month, $week, $day, $time)
 {
     $this->ryzomClock->setGameCycle($tick);
     //printf("--- [%d] ---\n", $tick);
     //printf("cycle:%.5f\n", $this->ryzomClock->getRyzomCycle());
     //printf("season:%.5f\n", $this->ryzomClock->getRyzomSeason());
     //printf("year:%.5f\n", $this->ryzomClock->getRyzomYear());
     //printf("day:%.5f\n", $this->ryzomClock->getRyzomDay());
     //printf("month:%.5f\n", $this->ryzomClock->getRyzomMonth());
     //printf("week:%.5f\n", $this->ryzomClock->getRyzomWeek());
     //printf("time:%.5f\n", $this->ryzomClock->getRyzomTime());
     $this->assertEquals($cycle, floor($this->ryzomClock->getRyzomCycle()));
     $this->assertEquals($season, floor($this->ryzomClock->getRyzomSeason()));
     $this->assertEquals($year, floor($this->ryzomClock->getRyzomYear()));
     $this->assertEquals($month, floor($this->ryzomClock->getRyzomMonth()));
     $this->assertEquals($week, floor($this->ryzomClock->getRyzomWeek()));
     // +/- 2.4 hour
     $this->assertEquals($day, $this->ryzomClock->getRyzomDay(), 'day', 0.1);
     // +/- 6 min
     $this->assertEquals($time, $this->ryzomClock->getRyzomTime(), 'time', 0.1);
 }