Ejemplo n.º 1
0
 /**
  * This method tests the "ceil" method.
  *
  * @dataProvider data_ceil
  */
 public function test_ceil(array $provided, array $expected)
 {
     $p0 = IDouble\Module::ceil(IDouble\Type::box($provided[0]));
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\IDouble\\Type', $p0);
     $this->assertSame($e0, $p0->unbox());
 }