Example #1
0
 /**
  * This method tests the "abs" method.
  *
  * @dataProvider data_abs
  */
 public function test_abs(array $provided, array $expected)
 {
     $p0 = IInt32\Module::abs(IInt32\Type::box($provided[0]));
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\IInt32\\Type', $p0);
     $this->assertEquals($e0, $p0->unbox());
 }