示例#1
0
 /**
  * This method tests the "round" method.
  *
  * @dataProvider data_round
  */
 public function test_round(array $provided, array $expected)
 {
     $p0 = IDouble\Module::round(IDouble\Type::box($provided[0]));
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\IDouble\\Type', $p0);
     $this->assertSame($e0, $p0->unbox());
 }