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